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>
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>
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>
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
Jan Kuhlmann
74a2ce1e91
CMake: Offer multiple choices for Vulkan C headers ( #2075 )
...
* offer multiple choices for Vulkan C headers
* replaced redundant link
2025-02-18 08:15:37 +01:00
Yilong Li
9dbf676cdb
vulkan_handles: Remove the redundant semicolon after ctor definition ( #2073 )
...
Semicolons after in-class function definitions are redundant, and may
trigger the "-Wextra-semi" warning of compilers, for example:
* gcc: https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wextra-semi
* clang: https://clang.llvm.org/docs/DiagnosticsReference.html#wextra-semi
This change removes the redundant semicolon in the code generator and
the generated hpp file.
Bug: https://fxbug.dev/378964821
2025-02-17 14:36:07 +01:00
Andreas Süßenbach
4dc27d82a4
Move lengthy template texts into snippet files. ( #2072 )
2025-02-13 10:56:11 +01:00
Jan Kuhlmann
7d7c25f9be
CMake: Added unified options for `VulkanHpp` and `VulkanHppModule` compile definitions ( #2066 )
...
* added compile definitions as cmake options
* use VulkanHpp dynamic dispatch setting for module
* adjusted comments
* adjusted dynamic loader tool option
* remove dynamic loader tool option
* removed non-boolean flags
* make VULKAN_HPP_DISPATCH_LOADER_DYNAMIC depend on VK_NO_PROTOTYPES
* added descriptions to options
* adjusted formatting
* fixed typo
* deprecated module-specific cmake flag VULKAN_HPP_CPP20_MODULE_DYNAMIC_DISPATCHER
* link to vulkan-1 on static dispatch loader
* typo fix
* only optionally find vulkan, warn in case it is missing
2025-02-13 07:56:23 +01:00
Andreas Süßenbach
0ff63e9dc6
Throw on clang_format failure; fix comment ( #2070 )
2025-02-11 09:35:35 +01:00
Jan Kuhlmann
a854add3d8
README: Fixed sorting order for *_NO_TO_STRING ( #2069 )
2025-02-11 09:34:04 +01:00
Andreas Süßenbach
c5c8642d2a
Make BreakBeforeConceptDeclarations a boolean for clang-format 14. ( #2068 )
2025-02-10 16:08:40 +01:00
Andreas Süßenbach
3e53a5804a
Add support for clang_format options version 18 ( #2064 )
2025-02-06 17:14:29 +01:00
Andreas Süßenbach
3ec3e1c8d1
Add support for clang_format options version 17 ( #2063 )
2025-02-06 13:20:09 +01:00
Andreas Süßenbach
3f2fe22281
Add support for clang_format options version 16. ( #2062 )
2025-02-05 13:44:36 +01:00