Commit Graph

1005 Commits

Author SHA1 Message Date
github-actions[bot] 6bbd8ccd68
Update Vulkan-Headers to v1.4.334 (#2364)
Co-authored-by: GitHub <noreply@github.com>
2025-11-25 12:38:11 +01:00
GitHub bdda01dc49 Update Vulkan-Headers to v1.4.333
Set Version Tag / set-version-tag (push) Has been cancelled Details
2025-11-18 15:23:46 +01:00
YaaZ 21d217d163 Fix typo leading to module compilation error 2025-11-18 15:22:55 +01:00
Andreas Süßenbach 9747e68285
Restrict template argument Dispatch to only take evaluate the newly introduced type trait isDispatchLoader with value == true. (#2360)
Set Version Tag / set-version-tag (push) Has been cancelled Details
2025-11-12 18:21:31 +01:00
Jan Kuhlmann 7c480ca5aa
C++Module: Fix GCC error and replace `std.compat` with `std` (#2353)
* iunclude vulkan.h before the import

* replace std.compat with std
2025-11-12 13:49:10 +01:00
Nikita Gubarkov c75dcdc0bb
Export vk::raii::isVulkanRAIIHandleType (#2357)
Set Version Tag / set-version-tag (push) Waiting to run Details
2025-11-12 10:12:14 +01:00
Andreas Süßenbach 15f4b3024f
Fix default values of function arguments when VULKAN_HPP_NO_DEFAULT_DISPATCHER is defined. (#2356) 2025-11-12 10:08:57 +01:00
Jan Kuhlmann 1491456a64
use assert macros (#2352)
Set Version Tag / set-version-tag (push) Waiting to run Details
2025-11-11 14:56:14 +01:00
Andreas Süßenbach 9423ad7f69
Fix wrongly generated interface of vk::raii::Device::getFaultInfoEXT. (#2350) 2025-11-11 11:15:31 +01:00
Andreas Süßenbach 63a3afa9b2
Fix structure usage in special command flavours of vkSetDebugUtilsObjectNameEXT and vkSetDebugUtilsObjectTagEXT (#2348) 2025-11-10 14:29:50 +01:00
Andreas Süßenbach 36b276f0a2
Replace using free by using a std::vector (#2344) 2025-11-10 14:29:35 +01:00
Jan Kuhlmann b4d30a5fb5
CI: Added runner for Windows with Clang and Ninja (#2342)
* add windows ci testing clang and ninja

* attempt to use multi-config builds on msvc ci

* install deps for windows ci

* temporarily disable ci portions

* try clang-cl

* test x64 only

* try x64 for clang-cl

* specify clang-cl as C compiler

* attempt clang-cl with dep install

* ignore unused variable warning in sample02

* need to specify c compiler as glfw install is not being found

* try to ignore warning in standard clang fashion

* syntax fix

* cast procaddress to void* before final func type cast

* added more windows clang warning suppressions

* disable normal windows ci

* suppress warnings in raii samples

* suppress more warnings for tests

* more unused var suppressions for tests

* disable preinstall of deps in clang to prevent _ITERATOR_DEBUG_LEVEL mismatch

* suppress unused var warnings triggered in release mode

* add warning suppression to flags test

* fixed strided array proxy test

* fix structure chain test

* fix extension inspection test

* reenable all ci workflows
2025-11-10 14:29:09 +01:00
github-actions[bot] cda66a2513
Update Vulkan-Headers to v1.4.332 (#2346)
Co-authored-by: GitHub <noreply@github.com>
2025-11-10 13:06:46 +01:00
Sharadh Rajaraman e511715fce
Do not `export import std` as a macro (#2340)
Set Version Tag / set-version-tag (push) Has been cancelled Details
* Do not export-import `std` as a macro

* Move warning expansion to macros file, and create a macro for it
- Also remove macro for `std.compat` and hardcode it
2025-11-06 10:59:34 +01:00
Andreas Süßenbach d0b04b733a
Removed special handling for VkDeviceFaultInfoEXT, which was plainly wrong. (#2343) 2025-11-06 08:22:31 +01:00
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 1958615077
Minor code cleanup. (#2328) 2025-10-23 14:21:50 +02:00
Andreas Süßenbach 3c1a2e5f10
Minor code cleanup. (#2325) 2025-10-16 13:35:27 +02:00
Nikita Gubarkov 9ab0f0602b
Export comparison operators (#2324) 2025-10-16 13:35:01 +02: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
github-actions[bot] 767fce85b7
Update Vulkan-Headers to v1.4.329 (#2322)
Co-authored-by: GitHub <noreply@github.com>
2025-10-13 10:57:40 +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
Andreas Süßenbach fda19f0bb3
Extend test DesignatedInitializers to use a struct with deprectated members. (#2305) 2025-09-30 10:45:07 +02:00
Ilya Doroshenko 4ff98ef7a8
#1894 Added macro guard for optional default deleter constructors assignments. (#2296) 2025-09-29 17:22:14 +02:00
Jan Kuhlmann 2c17c62600
added another guard for VULKAN_HPP_ENABLE_STD_MODULE (#2300) 2025-09-29 10:58:54 +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
Jan Kuhlmann f522d73454
C++Module: Fixing import std on enum header and using `export import std` when appropriate (#2283)
* fix std import on enum header

* remove duplicate contents in cppm

* moved dynamic enabling of std module into macro header

* do not automatically enable import std

* automatic opt-out approach for export import std

* added opt-out option VULKAN_HPP_NO_STD_MODULE

* add VULKAN_HPP_NO_STD_MODULE to CI workflows

* added VULKAN_HPP_NO_STD_MODULE flag to the readme

* set VULKAN_HPP_NO_STD_MODULE to OFF by default

* added import_std exclusion to ubuntu-ext CI
2025-09-25 09:02:03 +02:00
Nikita Gubarkov 202f053855
Export ResultValue related functions (#2290) 2025-09-22 14:56:32 +02:00
github-actions[bot] 1a9644fbda
Update Vulkan-Headers to v1.4.327 (#2293)
Co-authored-by: GitHub <noreply@github.com>
2025-09-22 10:48:27 +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
dv-001 e418dd91fb
Fix: Correct IWYU pragmas (#2288) 2025-09-17 13:43:30 +02:00
Jan Kuhlmann 4bbdbb434d
manually export vk::SwapchainOwns in module (#2276) 2025-09-15 10:52:02 +02:00
Andreas Süßenbach db104e1c01
Add template CppType to get from C-struct types to vk-struct types, valid with C++20 and above. (#2274) 2025-09-04 13:28:57 +02:00
Andreas Süßenbach 8f2955ba0d
Minor code cleanup (#2275) 2025-09-04 12:00:55 +02:00
Jan Kuhlmann df7099a77e
added explicit cstdlib for vulkan module with std (#2269) 2025-09-03 09:20:01 +02:00
github-actions[bot] 16fa896427
Update Vulkan-Headers to v1.4.326 (#2267)
Co-authored-by: GitHub <noreply@github.com>
2025-09-01 13:34:17 +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 6cfec828f6
Refactor file generation functions (#2256)
* Refactor file generation functions

* Rebased on main.
2025-08-18 08:31:15 +02:00
Jan Kuhlmann 7fcd4522e0
Tests: Created std module versions of each test and enabled previously disabled tests (#2248)
* move vulkan module setup function to global scope

* use the vulkan include setup func for module setups instead of manual linking

* test setup function extended to allow for modules

* create std module variant for each test

* remove the obsolete NO_UTILS from test setup

* commented some TODOs

* only enable module tests when VULKAN_HPP_ENABLE_CPP20_MODULES is set

* reenable handles.cpp test

* remove use nested namespaces

* include array header for ArrayProxyNoTemporaries test

* include <compare> in enums for spaceship operator

* manually added <compare> to Flags.cpp test

* properly guarded <string_view> with c++17 requirement
2025-08-14 15:40:20 +02:00
Jon Creighton c90a5bac97
Fix for uninitialised deprecated members in DeviceCreateInfo constructor (#2250) 2025-08-12 08:35:01 +02:00
Andreas Süßenbach 7beac182b2
Remove the superfluous operator<=> for handles. (#2247) 2025-08-11 13:37:09 +02:00
Andreas Süßenbach 6bd3b4652c
Introduce defines VULKAN_HPP_DISPATCH_LOADER_[DYNAMIC|STATIC]_TYPE (#2244) 2025-08-11 13:36:46 +02:00
github-actions[bot] 618759b9d6
Update Vulkan-Headers to v1.4.325 (#2249)
Co-authored-by: GitHub <noreply@github.com>
2025-08-11 12:40:35 +02:00
Andreas Süßenbach 0113967b2b
Simplified generation of the reflect function on structures (#2241) 2025-08-06 13:37:07 +02:00
github-actions[bot] a33145af43
Update Vulkan-Headers to v1.4.324 (#2238)
Co-authored-by: GitHub <noreply@github.com>
2025-08-05 11:44:40 +02:00
Andreas Süßenbach 621c713cf8
Fix struct constructor with deprecated members (#2236) 2025-08-04 16:38:51 +02:00
Andreas Süßenbach d6eb36b132
Add constants to vulkan_video.cppm[hpp|cppm] (#2232) 2025-07-31 16:44:52 +02:00