Commit Graph

192 Commits

Author SHA1 Message Date
github-actions[bot] 95d69172ba
Update Vulkan-Headers to v1.4.331 (#2338)
Co-authored-by: GitHub <noreply@github.com>
2025-11-03 10:15:50 +01:00
Andreas Süßenbach 4bc2057ad8
Cleanup on default assignment macros. (#2335) 2025-10-30 15:37:07 +01:00
Andreas Süßenbach 878fb0d390
Add special command flavours for vkSetDebugUtilsObjectNameEXT and vkSetDebugUtilsObjectTagEXT (#2329) 2025-10-29 09:18:30 +01:00
github-actions[bot] 0a7333161d
Update Vulkan-Headers to v1.4.330 (#2330)
Co-authored-by: GitHub <noreply@github.com>
2025-10-27 12:49:31 +01:00
Andreas Süßenbach aab9fc1ada
Introduce a compile-time flag to handle VK_ERROR_OUT_OF_DATE_KHR like a success code. (#2312) 2025-10-13 11:05:21 +02:00
Sharadh Rajaraman ed449ac36f
Simplify named module handling and macros (#2303)
* Remove `VULKAN_HPP_ENABLE_STD_MODULE` macro; unconditionally use `import std;`

* Emit compile-time warning about experimental state for module

* Refactor `#include` guard to use `VULKAN_HPP_CXX_MODULE` for all headers

* Group global namespace exports into block

* Simplify CMake setup for modules

- Raise minimum version to 3.22 (this is what we have in CI)
- Remove duplicated options
- Set up a single option that depends on magic `__CMAKE::CXX23` target; defaults to OFF unless magic UUID set (or future CMake version supports)

* Rebase changes

* Guard C++ module warning with compile-time flag

* Fix macro guard for experimental warning

* Force `<vulkan/vulkan_hpp_macros.hpp>` at the top of includes list
2025-10-09 21:04:11 +02:00
github-actions[bot] ed9a0a586b
Update Vulkan-Headers to v1.4.328 (#2302)
Co-authored-by: GitHub <noreply@github.com>
2025-09-29 10:41:14 +02:00
Nikita Gubarkov 938a2c36d2
Expose "raw" RAII constructors (#2280)
* Expose "raw" RAII constructors

* Protected raw constructors only for Buffer and Image
2025-09-18 15:35:27 +02:00
Andreas Süßenbach f42eadae3d
Add "standard" implementation for raii commands returning a structure chain. (#2263) 2025-08-26 17:03:00 +02:00
Andreas Süßenbach 7dfe7d3ad9
Extend support of VULKAN_HPP_NO_EXCEPTIONS in the raii-namespace (#2226) 2025-07-22 13:48:50 +02:00
github-actions[bot] 11bab25e31
Update Vulkan-Headers to v1.4.323 (#2222)
Co-authored-by: GitHub <noreply@github.com>
2025-07-21 08:50:32 +02:00
Andreas Süßenbach da67e807a8
Remove redundant occurrences of VULKAN_HPP_NAMESPACE:: and VULKAN_HPP_RAII_NAMESPACE:: in vulkan_raii.hpp (#2213) 2025-07-14 16:26:20 +02:00
github-actions[bot] 7824358518
Update Vulkan-Headers to v1.4.321 (#2209)
Co-authored-by: GitHub <noreply@github.com>
2025-07-07 11:28:32 +02:00
Andreas Süßenbach 2010d85fb4
Remove redundant occurrences of VULKAN_HPP_NAMESPACE:: in vulkan_shared.hpp (#2207) 2025-07-03 10:29:37 +02:00
LEE KYOUNGHEON de8730fd22
Use ref qualifier for RAII handles to prevent creating reference to a temporary. (#2159)
* Use ref qualifier to prevent creating reference to a temporary.

* Return const rvalue reference.
2025-07-02 18:05:25 +02:00
Andreas Süßenbach 3444a16cfb
Remove redundant occurrences of VULKAN_HPP_NAMESPACE:: in vulkan_funcs.hpp and other headers (#2205) 2025-07-01 17:24:19 +02:00
github-actions[bot] a31d678939
Update Vulkan-Headers to v1.4.319 (#2193)
Co-authored-by: GitHub <noreply@github.com>
2025-06-24 10:26:51 +02:00
Andreas Süßenbach dfed90530b
Cleanup work on compare operators (#2169)
* Cleanup work on compare operators

* Use defaulted spaceship operators for handles if available, otherwise use set of explicit comparison operators.
2025-06-24 08:31:14 +02:00
github-actions[bot] 5bac8fc8fc
Update Vulkan-Headers to v1.4.318 (#2185)
Co-authored-by: GitHub <noreply@github.com>
2025-06-16 11:45:04 +02:00
github-actions[bot] 51a648fa9a
Update Vulkan-Headers to v1.4.317 (#2174)
Co-authored-by: GitHub <noreply@github.com>
2025-06-11 11:07:32 +02:00
Andreas Süßenbach a804eaa9b2
Add missing alias classes for raii-handle wrappers (#2148) 2025-04-29 13:41:12 +02:00
Andreas Süßenbach bdf1304837
Add some special handling for command vkExportMetalObjectsEXT (#2142) 2025-04-22 11:49:46 +02:00
github-actions[bot] 028a01abfc
Update Vulkan-Headers to v1.4.313 (#2140)
Co-authored-by: GitHub <noreply@github.com>
2025-04-22 09:55:06 +02:00
github-actions[bot] 7eb8eacec5
Update Vulkan-Headers to v1.4.312 (#2127)
Co-authored-by: GitHub <noreply@github.com>
2025-04-07 11:33:00 +02:00
Andreas Süßenbach 6f7fcdfbc7
Simplified member name generation for raii handles (#2120) 2025-03-31 15:51:25 +02:00
github-actions[bot] 1fd397b801
Update Vulkan-Headers to v1.4.311 (#2114)
Co-authored-by: GitHub <noreply@github.com>
2025-03-25 10:37:38 +01:00
Andreas Süßenbach da9db0c8a0
Replace some more "vk::" by "VULKAN_HPP_NAMESPACE::" (#2095) 2025-03-06 17:19:37 +01:00
Andreas Süßenbach d9c7a3b836
Add links into https://registry.khronos.org/vulkan/specs/latest/man/html for relevant data types (#2061) 2025-02-04 11:13:58 +01:00
github-actions[bot] 6b05ffe121
Update Vulkan-Headers to v1.4.307 (#2058)
Co-authored-by: GitHub <noreply@github.com>
2025-02-03 11:44:22 +01:00
github-actions[bot] bc11a75f32
Update Vulkan-Headers to v1.4.306 (#2055)
Co-authored-by: GitHub <noreply@github.com>
2025-01-27 10:21:23 +01:00
Andreas Süßenbach 6578bfcc88
Update Vulkan-Headers to v1.4.305 (#2049) 2025-01-21 10:53:23 +01:00
Andreas Süßenbach ed47b1d9ad
Remove special assertion on eFreeDescriptorSet in function Device::createDescriptorPool (#2038) 2025-01-08 19:47:53 +01:00
Andreas Süßenbach 752778463e
Parallelize the generation of the files. (#2035) 2025-01-08 11:53:08 +01:00
Andreas Süßenbach 264d35b58c
Introduce vk::PFN_VoidFunction as a replacement of PFN_vkVoidFunction (#2033) 2025-01-06 18:04:33 +01:00
github-actions[bot] 20ecea9574
Update Vulkan-Headers to v1.4.303 (#2006)
Co-authored-by: GitHub <noreply@github.com>
2024-12-04 10:30:35 +01:00
Andreas Süßenbach 06b91cfdc2
Add comparison operators for vk::raii handles, remove them for vk handles (#2001) 2024-11-28 08:50:43 +01:00
Andreas Süßenbach ed3cf7ac51
Move all the dispatcher related classes into namespace detail (#1983) 2024-10-29 08:13:51 +01:00
github-actions[bot] 24dee1ce75
Update Vulkan-Headers to v1.3.300 (#1981)
Co-authored-by: GitHub <noreply@github.com>
2024-10-28 12:45:25 +01:00
Andreas Süßenbach eecf79d57f
Add some special handling debug code for vk::raii::DescriptorPool (#1978) 2024-10-24 08:18:43 +02:00
github-actions[bot] 8444972909
Update Vulkan-Headers to v1.3.299 (#1974)
Co-authored-by: GitHub <noreply@github.com>
2024-10-21 14:58:14 +02:00
github-actions[bot] 8592ed9743
Update Vulkan-Headers to v1.3.298 (#1971)
Co-authored-by: GitHub <noreply@github.com>
2024-10-14 12:32:50 +02:00
Andreas Süßenbach 56fdc0b070
Generate only the standard version for commands that would require vector-operations inside a struct. (#1970) 2024-10-09 16:06:13 +02:00
GitHub 26cf5590cb Update Vulkan-Headers to v1.3.297 2024-10-05 21:26:32 +02:00
Sharadh Rajaraman 6abd3f42a8
Use `import std;` guarded by macro (#1932)
* 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
Andreas Süßenbach 98ea600e1f
Removed special handling for enumerating commands with complex size information via a struct, generating just the standard function in such cases (#1952) 2024-08-26 16:21:45 +02:00
github-actions[bot] bd70384cd4
Update Vulkan-Headers to v1.3.294 (#1951)
Co-authored-by: GitHub <noreply@github.com>
2024-08-26 16:06:58 +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] f7f0d8ccaa
Update Vulkan-Headers to v1.3.291 (#1924)
Co-authored-by: GitHub <noreply@github.com>
2024-07-22 13:20:20 +02:00
Andreas Süßenbach d507727fd7
Add support for enumerating functions that originally take a struct with the vector information. (#1892) 2024-06-11 16:53:15 +02:00
github-actions[bot] 6fb0c202be
Update Vulkan-Headers to v1.3.287 (#1891)
Co-authored-by: GitHub <noreply@github.com>
2024-06-10 11:37:10 +02:00