Sharadh Rajaraman
6abd3f42a8
Use import std;
guarded by macro ( #1932 )
...
Set Version Tag / set-version-tag (push) Waiting to run
* Initial build and tests setup
* Enable the `CppStdModule` test
* Snippets and generator changes
* Generated files changes
* Enable std module with macro
* Unconditionally use `import std` with C++23
* Add support for external `import std` control with `VULKAN_HPP_ENABLE_STD_MODULE`
- Rewrite `includes.hpp` and `macros.hpp`
- Unconditionally set `VULKAN_HPP_ENABLE_STD_MODULE` for `vulkan.cppm` to bug-fix
- Generated necessary files again
* Top-level CMake changes
* Reorganise logic, and propagate external macro correctly
* RAII: vulkan_hpp before ifdef
* Define `VK_USE_64_BIT_PTR_DEFINES` in `vulkan_hpp_macros.hpp`
* Generate the `VK_USE_64_BIT_PTR_DEFINES` clause from the XML instead of hardcoding it
* Refactored handling for `VK_USE_64_BIT_PTR_DEFINES`
- Updated condition to positive test for `#ifndef VK_USE_64_BIT_PTR_DEFINES` in `completeMacro`
* Added `#include <string.h>` to resolve `strnlen` missing in the module
* Use only `std.compat`
* FIx after rebase
2024-09-05 08:48:19 +02:00
Nikolai Siukosev
ae1eb5f449
Non raii handles move exchange ( #1929 )
...
* Add move semantics for non-raii hpp handles. (#1919 )
* Updated generated vulkan/* files
2024-07-23 09:55:09 +02:00
github-actions[bot]
630d8da8c6
Update Vulkan-Headers to v1.3.289 ( #1912 )
...
Co-authored-by: GitHub <noreply@github.com>
2024-07-01 14:11:05 +02:00
Andreas Süßenbach
c8dd4fb5ea
Add support for enumerating commands with more than two success codes. ( #1870 )
2024-05-08 18:46:23 +02:00
Andreas Süßenbach
ed5b48b517
Pay attention to struct aliases to determine struct dependencies. ( #1842 )
2024-04-08 18:00:46 +02:00
Andreas Süßenbach
d111d68be8
Simplify handling of enum value aliases ( #1838 )
2024-04-03 08:29:10 +02:00
Andreas Süßenbach
194708b54c
Extent type trait vk::CppType to map from VkHandle to vk::Handle ( #1829 )
2024-03-19 14:07:03 +01:00
Andreas Süßenbach
2b35399a73
Remove unnecessary static_casts on vk::Results. ( #1822 )
2024-03-06 08:54:20 +01:00
Nikolai Siukosev
f1a38ff729
Disabled vk::raii::exchange()
implementation for C++14 or newer ( #1803 )
...
* Disabled `vk::raii::exchange()` implementation for C++14 or newer. Replaced with `using std::exchange`
* Regenerated raii headers
2024-02-15 08:35:02 +01:00
Andreas Süßenbach
c74c22fb77
Use some special handling for struct vk::DeviceFaultInfoEXT ( #1796 )
2024-02-08 11:40:27 +01:00
github-actions[bot]
d4b36b8223
Update Vulkan-Headers to v1.3.276 ( #1776 )
...
Co-authored-by: GitHub <noreply@github.com>
2024-01-29 14:01:04 +01:00
Andreas Süßenbach
3e6fed9492
Introduce implicit cast operators for vk::UniqueHandles, vk::SharedHandles and vk::raii::Handles ( #1771 )
2024-01-16 13:48:53 +01:00
github-actions[bot]
1a24b01583
Update Vulkan-Headers to v1.3.275 ( #1768 )
...
Co-authored-by: GitHub <noreply@github.com>
2024-01-08 10:21:39 +01:00
Andreas Süßenbach
d2f13e2f7f
Include <memory> in vulkan_raii.hpp to have std::unique_ptr available. ( #1762 )
2024-01-03 11:49:10 +01:00
Andreas Süßenbach
197017ef20
Add support of noexcept-path for vk::raii classes ( #1742 )
2024-01-02 13:47:01 +01:00
github-actions[bot]
170a000750
Update Vulkan-Headers to v1.3.273 ( #1748 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-12-13 13:32:34 +01:00
Andreas Süßenbach
f76ce52df5
Introduce using CppType type-trait for raii-classes, add two helper functions to filter the cpp-types out of a vector of raii-types. ( #1672 )
2023-10-05 15:19:16 +02:00
Andreas Süßenbach
ef0dbd602b
Correct includes in vulkansc-headers. ( #1645 )
2023-08-28 10:21:34 +02:00
github-actions[bot]
c115fd1ec6
Update Vulkan-Headers to v1.3.256 ( #1609 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-07-03 12:07:37 +02:00
github-actions[bot]
3d95b910da
Update Vulkan-Headers to v1.3.255 ( #1604 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-06-26 14:12:49 +02:00
Andreas Süßenbach
6bf5c311b2
Add support for a new class of functions ( #1570 )
...
plus refactor returnType generation
2023-04-26 10:56:57 +02:00
Andreas Süßenbach
95c622a64f
Extend support of some special type of functions. ( #1567 )
2023-04-24 18:06:06 +02:00
Andreas Süßenbach
678295aa75
Update Vulkan-Headers to v1.3.246 ( #1551 )
2023-04-03 13:29:44 +02:00
Andreas Süßenbach
ae07aa7254
First version to support both, "vulkan" and "vulkansc". ( #1524 )
...
The files set generated is controlled by command line argument -api [vulkan|vulkansc]
2023-03-07 08:23:14 +01:00