2176 Commits

Author SHA1 Message Date
Andreas Süßenbach
ee361cf520
Add BitsType to vk::Flags to get from vk::*Flags to vk::*FlagBits at compile-time (#2139) 2025-04-17 18:11:15 +02:00
Andreas Süßenbach
16915b3fa4
Add using WrappedType to FlagTraits<*FlagBits> to generically get from vk::*FlagBits to Vk*FlagBits at compile-time. (#2138) 2025-04-17 10:39:11 +02:00
Andreas Süßenbach
ce7006b096
Remove deprecated Ubuntu-20 from CI. (#2136) 2025-04-16 08:32:29 +02:00
Andreas Süßenbach
bdc97d096b
Add support for two new command flavours. (#2135) 2025-04-15 22:09:02 +02:00
Andreas Süßenbach
fda93ae3fb
Include cassert unconditionally (#2134) 2025-04-10 13:56:09 +02:00
Andreas Süßenbach
a428958b7f
Check language feature macro for existence before using it (#2133) 2025-04-10 10:49:25 +02:00
Andreas Süßenbach
ce1ffedb70
Minor cleanup work on determining graphics and present queue family indices (#2129) 2025-04-08 09:35:52 +02:00
ewerness-nv
595f21ae1a
Merge pull request #2128 from asuessenbach/replaced_test
Fix generation of end of extension replacements test functions
2025-04-07 12:03:27 -07:00
asuessenbach
387ae87201 Fix generation of end of extension replacements test functions 2025-04-07 12:45:18 +02:00
github-actions[bot]
7eb8eacec5
Update Vulkan-Headers to v1.4.312 (#2127)
Co-authored-by: GitHub <noreply@github.com>
v1.4.312
2025-04-07 11:33:00 +02:00
Andreas Süßenbach
893cc80cf9
Replace ubuntu24.04 workflow by a self-hosted linux runner (#2123) 2025-04-07 09:33:17 +02:00
Andreas Süßenbach
450a047750
Extend depends handling of extensions to allow multiple sets of dependencies for the very same vulkan version. (#2126) 2025-04-03 20:21:11 +02:00
Andreas Süßenbach
3f84a60581
Define CLANG_FORMAT_EXECUTABLE only for the generators. (#2125) 2025-04-03 13:25:12 +02:00
Andreas Süßenbach
63eff3a2e0
Re-introduce extension dependencies inspection (#2124)
* Re-introduce extension dependencies inspection.
2025-04-03 09:06:58 +02:00
Andreas Süßenbach
566e770a3b
Ignore tag on identifying no deleter functions (#2121) 2025-04-01 12:33:59 +02:00
Andreas Süßenbach
6f7fcdfbc7
Simplified member name generation for raii handles (#2120) 2025-03-31 15:51:25 +02:00
Jan Kuhlmann
624143e366
ci: C++20 module testing (#2110)
* added module compilation to ubuntu ci

* added ubuntu 24.04 with clang++-19

* exclude g++-10 from module testing

* exclude clang++-19

* only perform module tests for c++20 and up

* added module option to ci matrix

* added module ci tests for windows, trying out ci ternary

* exclude windows-2019

* ubuntu ci module tests via ternary

* enabled module testing for c++23 in ubuntu

* properly negate c++23 filter

* more concise module flag

* re-trigger ci

* spread out excluded compilers for modules over multiple lines

* fixed json escape sequence

* enable module testing in ci-ubuntu-24

* revert accidental commit of testing opts

* properly convert compiler array to json

* merge Vulkan-Headers submodule version from main

* split up macos runners similar to windows and ubuntu, also enable module compilation

* added macos-15 runner for module testing

* trigger ci

* only test modules for cpp_standard >= 20

* attempt to fix macos module compilation

* revert module attempts on macos

* macos rename + clang++-18 removal, equalized module compilation flag for windows and ubuntu
2025-03-31 14:14:49 +02:00
Andreas Süßenbach
abe7295190
Add support for a new type of commands. (#2119) 2025-03-31 10:51:30 +02:00
Andreas Süßenbach
97e60d04f3
Add support for a new class of commands. (#2118) 2025-03-26 15:00:42 +01:00
Andreas Süßenbach
c86d00a898
Minor cleanup work. (#2117) 2025-03-26 08:37:18 +01:00
Andreas Süßenbach
fd6e74416c
Split the CI builds on ubuntu into separate runners (#2116) 2025-03-26 08:36:04 +01:00
Andreas Süßenbach
e3ea28320d
Fix correctness checks for syncaccess and syncstage (#2115)
+ fix generation of structures used in a structure
2025-03-25 13:24:00 +01:00
github-actions[bot]
1fd397b801
Update Vulkan-Headers to v1.4.311 (#2114)
Co-authored-by: GitHub <noreply@github.com>
v1.4.311
2025-03-25 10:37:38 +01:00
Jan Kuhlmann
efa6cf3a25
Fix unix DL linkage (#2108) 2025-03-19 08:25:41 +01:00
Andreas Süßenbach
053eb2d62c
Adjust build files to allow test builds without sample builds (#2107) 2025-03-18 13:47:01 +01:00
Andreas Süßenbach
8fa7cf094d
Extend set of separators for required dependencies check. (#2106) 2025-03-18 09:53:31 +01:00
Jan Kuhlmann
f9c5bfde49
CMake: Cleanup of vulkan target and cpp module test (#2105)
* cleanup of vulkan target

* fixed cpp module test

* extend ubuntu ci to compile cpp modules

* only test cpp modules on ubuntu 24.04

* fixed condition syntax

* exclude gcc <=14

* revert ci for ubuntu
2025-03-18 08:52:47 +01:00
Ans
04727f6695
Fixed commenting (#2103)
* Fixed commenting

* Fixed commenting
2025-03-17 12:31:27 +01:00
Andreas Süßenbach
4266ef3040
Move handling and checking of "len" members of a struct to after all members are read (#2102) 2025-03-13 23:40:28 +01:00
Andreas Süßenbach
b19b7d7afb
Make the vk::to_string functions constexpr with C++20 and above. (#2101) 2025-03-13 13:44:44 +01:00
Andreas Süßenbach
538fa5d529
Minor cleanup work. (#2098) 2025-03-11 19:48:59 +01:00
Jan Kuhlmann
fd13995952
temporarily remove extension dependency inspection (#2099) 2025-03-11 16:59:02 +01:00
Andreas Süßenbach
2c6d6c29b8
Remove the parallel file generation due to too many file access issues on CI builds. (#2100) 2025-03-11 16:55:02 +01:00
github-actions[bot]
1ce3fcac8b
Update Vulkan-Headers to v1.4.310 (#2097)
Co-authored-by: GitHub <noreply@github.com>
v1.4.310
2025-03-10 17:53:35 +01:00
Victor Chernyakin
fe203f86d0
Optimize to_string functions for enums (#2096)
* Optimize `to_string` functions for enums

* Fix `-Wunused-parameter` warning
2025-03-06 17:30:20 +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
325602c26a
Remove extension dependency inspection functions (temporarily) (#2094) 2025-03-06 17:17:32 +01:00
Andreas Süßenbach
8f9db1bad6
Minor cleanup work (#2090) 2025-02-24 18:02:40 +01:00
Andreas Süßenbach
f03a052717
Add support for another command flavour, returning result and three values. (#2089) 2025-02-24 13:57:17 +01:00
github-actions[bot]
16da8bd29e
Update Vulkan-Headers to v1.4.309 (#2088)
Co-authored-by: GitHub <noreply@github.com>
v1.4.309
2025-02-24 11:46:40 +01:00
Jan Kuhlmann
be9459f9c3
properly export VkGeometryInstanceFlagsKHR symbol (#2085) 2025-02-24 11:08:07 +01:00
Piers Daniell
0236fbad7d
Add additional type conversion operators to the struct classes to make it easier to interoperate with the Vulkan C API (#2087)
* Add type conversion operators to the structs

This improves compatibility with the Vulkan C API so applications can
easily use the vulkan_structs.hpp classes with the C API seamlessly.

* Minor fixes
2025-02-24 09:35:16 +01:00
Jan Kuhlmann
6922436d90
CI: Another attempt to fix windows ci.. (#2086)
* explicit flush before std::system

* retrigger ci
2025-02-24 09:25:16 +01:00
Jan Kuhlmann
2860728579
CMake: Reintroduced #2075 (#2083)
* reintroduced vulkan C header includes

* include Vulkan C headers in sample/test func
2025-02-24 09:13:43 +01:00
Jan Kuhlmann
4c8fe92a96
CI: Attempt to fix build failure on windows (#2084)
* explicit flush before clangd-format execution

* scoped ofs attempt

* retrigger ci
2025-02-20 17:15:30 +01:00
Andreas Süßenbach
8ab6cb5d8b
Add some temporary debug output in CMakeLists.txt. (#2081) 2025-02-19 13:18:44 +01:00
Andreas Süßenbach
5f4583c500
Cleanup work on correctness checks (#2079) 2025-02-19 09:11:19 +01:00
Jan Kuhlmann
03f07338be
Suppress clang warning -Wcast-function-type for shared destroy (#2078)
* supress clang warning for shared destroy

* ignore demoted to -Wcast-function-type

* ignore warning only for clang13 and up

* only pop warning if previously pushed
2025-02-19 09:05:30 +01:00
Andreas Süßenbach
ed5993af83
Revert MR #2075 (#2080) 2025-02-18 13:32:34 +01:00
Jan Kuhlmann
85036c964c
C++20 module: Hide to_string behind VULKAN_HPP_NO_TO_STRING (#2077)
* hide to_string behind VULKAN_HPP_NO_TO_STRING

* adjusted generated cppm
2025-02-18 08:20:17 +01:00