Commit Graph

568 Commits

Author SHA1 Message Date
asuessenbach
a8d47f4694 Combine two types of commands into one generation function. 2022-03-28 17:52:45 +02:00
asuessenbach
439ac7fe26 Update Vulkan-Headers to v1.3.209 2022-03-24 09:51:10 +01:00
asuessenbach
d90c6cbbfc Add pNext as optional last argument to constructors of structs that hold a pNext. 2022-03-23 17:08:19 +01:00
asuessenbach
23c11fe38d Introduce copy constructor and assignment operator for vk::raii classes that hold handles without a destructor. 2022-03-22 13:53:21 +01:00
asuessenbach
a104fd65d3 Combine two types of commands into one generation function. 2022-03-16 13:51:43 +01:00
asuessenbach
dfffc95731 Update Vulkan-Headers to v1.3.208 2022-03-16 12:19:09 +01:00
asuessenbach
c761497d36 Update Vulkan-Headers to v1.3.207 2022-03-16 09:09:01 +01:00
asuessenbach
ae11e13e0b Combine two types of commands into one generation function.
Generation of functions that return a VkResult and either get some data or not are combined into one function.

+ some minor cleanup
2022-03-15 11:58:55 +01:00
Andreas Süßenbach
582bade14d
Merge pull request #1242 from asuessenbach/deprecated
Remove deprecated cpp_type.
2022-03-15 08:52:49 +01:00
asuessenbach
cf5ecd7cc6 Remove deprecated cpp_type. 2022-03-14 15:13:33 +01:00
asuessenbach
f58ffe385f Combine two types of commands into one generation function.
Generation of functions that get a StructureChain or some value are combined into one function.
2022-03-14 14:54:56 +01:00
asuessenbach
611365b986 Updated clang_format options 2022-03-09 12:28:52 +01:00
asuessenbach
4fd8ad4baa Minor cleanup work in command generation. 2022-03-09 10:13:51 +01:00
asuessenbach
ffead3984d Add some support of attribute "altlen" on command parameters. 2022-03-02 09:51:12 +01:00
GitHub
eccc252a98 Update Vulkan-Headers to v1.3.206 2022-03-01 00:09:13 +00:00
asuessenbach
5fe410279a Change ColumnLimit with clang-format from 120 to 160. 2022-02-28 10:11:04 +01:00
Andreas Süßenbach
cccf0a62b7
Merge pull request #1212 from asuessenbach/formatTraits
Extract trait functions on vk::Format into the additional header vulkan_format_traits.hpp.
2022-02-21 11:35:53 +01:00
asuessenbach
1c39502170 Extract trait functions on vk::Format into the additional header vulkan_format_traits.hpp. 2022-02-21 10:11:25 +01:00
GitHub
47520a1025 Update Vulkan-Headers to v1.3.206 2022-02-19 00:07:27 +00:00
asuessenbach
3e1e23914e Hide functions reflect() behind VULKAN_HPP_USE_REFLECT. 2022-02-17 09:53:32 +01:00
Andreas Süßenbach
12dac7ffaa
Merge pull request #1208 from asuessenbach/vector
Introduce explicit default construction on nullptr_t for vector-based raii-classes.
2022-02-16 14:08:24 +01:00
asuessenbach
782c4aa46c Introduce explicit default construction on nullptr_t for vector-based raii-classes. 2022-02-16 09:51:18 +01:00
asuessenbach
815afe1f70 Introduce trait function componentName() and componentNumericFormat() on vk::Format. 2022-02-15 14:47:38 +01:00
asuessenbach
b8522e483c Introduce member function clear() for raii-classes. 2022-02-15 10:50:52 +01:00
asuessenbach
b1a822983d Introduce member function swap() for raii-classes. 2022-02-14 15:11:46 +01:00
asuessenbach
1b12dd8cbb Enclose "free" in parenthesis to prevent interference with MSVC's debug free 2022-02-10 09:49:24 +01:00
Andreas Süßenbach
8507dba945
Merge pull request #1196 from asuessenbach/deprecated
Remove support of all functions marked as deprecated.
2022-02-07 15:41:40 +01:00
Andreas Süßenbach
bc5b7fb5fe
Merge pull request #1194 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.205
2022-02-07 13:56:40 +01:00
asuessenbach
c25e890527 Remove support of all functions marked as deprecated. 2022-02-07 10:09:46 +01:00
GitHub
1e95dfbb80 Update Vulkan-Headers to v1.3.205 2022-02-06 00:45:04 +00:00
asuessenbach
7135c7e1a3 Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType. 2022-02-03 17:34:43 +01:00
asuessenbach
4e28bf7060 Check in with corrected braces for std::arrays.
Code generator was corrected in #1186.
2022-02-03 09:57:53 +01:00
GitHub
85c2c9d72e Update Vulkan-Headers to v1.3.204 2022-01-26 00:42:08 +00:00
asuessenbach
c29a549f8c Generalize command generation for a specific type of commands
Commands returning a VkResult, with multiple success codes and at least one error code, that get no non-const pointers and zero or more input vectors are generalized into one function.
2022-01-24 10:19:23 +01:00
asuessenbach
350a74f1e1 Generalize command generation for a specific type of commands
Commands returning void, that get no non-const pointers but one or more const pointers or vectors are generalized into one function.
2022-01-13 16:16:16 +01:00
asuessenbach
eecfe9bf42 Extend operator==() and operator<=>() on structures to compare null-terminated string members 2022-01-05 16:20:13 +01:00
Andreas Süßenbach
a5070c4094
Merge pull request #1170 from amaiorano/fix-hash-null-terminated-strings
Fix std::hash specializations for null-terminated strings
2022-01-04 12:08:35 +01:00
Andreas Süßenbach
cb5347205f
Merge pull request #1173 from asuessenbach/deprecated
Remove deprecated version of function Device::getCalibratedTimestampsEXT().
2022-01-04 08:51:22 +01:00
Antonio Maiorano
e84bb64746 Fix std::hash specializations for null-terminated strings
Instead of hashing the pointer, hash the string contents.

Fixes: https://github.com/KhronosGroup/Vulkan-Hpp/issues/1169
2022-01-03 14:26:34 -05:00
asuessenbach
10e8f07e85 Remove deprecated version of function Device::getCalibratedTimestampsEXT(). 2022-01-03 15:33:51 +01:00
asuessenbach
edc0ce883f Restrict reflect() on structures to non-GCC and GCC version above 7.5. 2022-01-03 14:17:12 +01:00
GitHub
1cac07f124 Update Vulkan-Headers to v1.2.203 2021-12-21 00:40:37 +00:00
asuessenbach
ce3eb55ada Introduce simple reflection function on vk-structs
Used that to simplify comparison operators.
2021-12-16 14:35:17 +01:00
asuessenbach
cdb64cdefd Generate std::hash specializations into the new file vulkan_hash.hpp, requiring C++14 for std::hash specializations of the vulkan structures. 2021-12-13 17:00:00 +01:00
GitHub
c109b8b2f4 Update Vulkan-Headers to v1.2.202 2021-12-08 00:38:42 +00:00
asuessenbach
6fdeaa8001 Make struct cast operators explicit. 2021-12-07 10:39:23 +01:00
asuessenbach
3515c720fc Introduce support of std::hash for vk-structures. 2021-12-02 23:28:26 +01:00
GitHub
09cc1f69c8 Update Vulkan-Headers to v1.2.201 2021-12-02 00:35:54 +00:00
asuessenbach
5d5182ce70 Introduce a couple of trait functions on vk::Format. 2021-11-29 10:00:19 +01:00
Andreas Süßenbach
a29a6894de
Merge pull request #1149 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.200
2021-11-24 13:51:36 +01:00