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
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
LEE KYOUNGHEON
8672aa4aaa
Export std::{tuple_size,tuple_element} for vk::StructureChain. ( #2060 )
...
* Export std::{tuple_size,tuple_element} for vk::StructureChain.
* Add separator
2025-02-05 08:47:13 +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
Andreas Süßenbach
ad9104d2b4
Add an error check for struct members with their array size at the wrong position. ( #2059 )
2025-02-03 17:29:23 +01:00
github-actions[bot]
6b05ffe121
Update Vulkan-Headers to v1.4.307 ( #2058 )
...
Co-authored-by: GitHub <noreply@github.com>
v1.4.307
2025-02-03 11:44:22 +01:00
Andreas Süßenbach
1bfa987bf4
Update namespace usage of DispatchLoaderDynamic, DispatchLoaderStatic, and DynamicLoader in the readme. ( #2057 )
2025-01-27 14:28:32 +01:00
github-actions[bot]
bc11a75f32
Update Vulkan-Headers to v1.4.306 ( #2055 )
...
Co-authored-by: GitHub <noreply@github.com>
v1.4.306
2025-01-27 10:21:23 +01:00
Jan Kuhlmann
4ff2cb7c95
CMake: Adding generator dependency to VulkanHpp
interface target for propagation and linking it to other targets ( #2054 )
...
* moved generator-related setup into the generator build section
* move generators and VulkanHpp* targets in front of setup functions
* make VulkanHpp potentially dependant on the generators, propagating to targets linking to it
* add local vulkan dep to VulkanHpp and propagate this and generator deps to VulkanHppModule
* link against local Vulkan::Hpp for include setup
* fix generator dep target
* fixed VULKAN_HPP_GENERATOR_BUILD option
* move warning level func in front of generators
* added build_video_hpp as a dependency for VulkanHpp
2025-01-23 13:52:14 +01:00
Jan Kuhlmann
16bfa65a59
README: Fixing extension inspection typo and RAII-classes title format ( #2052 )
...
* Fixed README typo in extension inspection
* Bring RAII-classes title format in line with other titles
2025-01-22 08:39:26 +01:00
Jan Kuhlmann
f8704c9a4e
CMake: Alias for c++20 modules target ( #2048 )
...
* created alias for cxx module target
* renamed Vulkan-Hpp to VulkanHpp akin to VulkanHppModule
* provide vk-hpp include dir to module target via interface target
* fixed indent
2025-01-22 08:26:32 +01:00