Commit Graph

1353 Commits

Author SHA1 Message Date
asuessenbach
b1a822983d Introduce member function swap() for raii-classes. 2022-02-14 15:11:46 +01:00
Andreas Süßenbach
7642e30f13
Merge pull request #1201 from asuessenbach/free
Enclose "free" in parenthesis to prevent interference with MSVC's debug free
2022-02-10 12:59:25 +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
20e2594743
Merge pull request #1199 from asuessenbach/cleanup
Unified generation of a special type of commands.
2022-02-09 17:30:19 +01:00
Andreas Süßenbach
9755e112fa
Merge pull request #1198 from asuessenbach/loop
Change type of loop variables from uint8_t to uint32_t.
2022-02-09 12:13:36 +01:00
asuessenbach
6f2dd058a0 Unified generation of a special type of commands.
Commands returning a VkResult with one or more error codes specified, getting no non-const pointer and zero or more vectors are combined into one function, no matter if it is specified to have one or more success codes.
2022-02-09 09:27:30 +01:00
asuessenbach
9142bea37e Change type of loop variables from uint8_t to uint32_t. 2022-02-09 08:32:42 +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
Andreas Süßenbach
8a1d42ee55
Merge pull request #1193 from asuessenbach/FlagTraits
Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType.
2022-02-07 09:06:00 +01:00
Andreas Süßenbach
193dc66c67
Merge pull request #1191 from asuessenbach/samples
Update samples on PhysicalDeviceMemoryProperties
2022-02-07 09:03:18 +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
Andreas Süßenbach
90320ca8bd
Merge pull request #1190 from asuessenbach/enums
Check in with corrected braces for std::arrays.
2022-02-03 17:09:49 +01:00
asuessenbach
d38980d592 Update samples on PhysicalDeviceMemoryProperties 2022-02-03 13:50:32 +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
Andreas Süßenbach
bac1a58f80
Merge pull request #1188 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-02-02 15:34:40 +01:00
Andreas Süßenbach
5156ca24af
Merge pull request #1186 from sugoi1/master
Fix 'missing braces around initializer' warnings in vulkan_enums.hpp
2022-02-02 12:11:04 +01:00
asuessenbach
4ebd8a8b2c Generalize command generation for a specific type of commands
Commands returning some value (not a VkResult), that get no non-const pointers, no input vectors, but zero or more const-pointers of any type are generalized into one function.
2022-02-02 10:46:38 +01:00
Andreas Süßenbach
ab43775b5b
Merge pull request #1184 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-02-01 09:26:42 +01:00
sugoi1
4ecb073416 Update VulkanHppGenerator.cpp 2022-01-28 11:06:17 -05:00
asuessenbach
7e1161da9b Generalize command generation for a specific type of commands
Commands returning void, that are supposed to enumerate one vector of data is generalized to also support void-data by a templated type.
2022-01-26 14:24:06 +01:00
Andreas Süßenbach
f29e2ae206
Merge pull request #1183 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.204
2022-01-26 13:49:45 +01:00
GitHub
85c2c9d72e Update Vulkan-Headers to v1.3.204 2022-01-26 00:42:08 +00:00
Andreas Süßenbach
e3ad626703
Merge pull request #1182 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-01-25 13:57:35 +01: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
Andreas Süßenbach
d8b8f54f82
Merge pull request #1180 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-01-19 12:10:45 +01:00
asuessenbach
b643095d78 Generalize command generation for a specific type of commands
Commands returning a VkResult, with a single success code 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-19 08:45:28 +01:00
Andreas Süßenbach
74f504fb18
Merge pull request #1179 from asuessenbach/readme
Fix two typos in Readme.md
2022-01-18 18:01:57 +01:00
asuessenbach
0331bc01b3 Fix two typos in Readme.md 2022-01-18 12:22:34 +01:00
Andreas Süßenbach
c30857d222
Merge pull request #1178 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-01-18 09:17:14 +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
Andreas Süßenbach
8a25e6fd2c
Merge pull request #1177 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-01-11 13:38:58 +01:00
asuessenbach
192bf5f3ed Generalize command generation for a specific type of commands
Commands returning a VkResult with a single success- and multiple error codes, that get no non-const pointers and no vectors, and any number of const pointers is generalized to support const void pointer as well, replacing those arguments by const& on a templated type.
2022-01-11 09:45:35 +01:00
Andreas Süßenbach
5ca8449c8e
Merge pull request #1176 from asuessenbach/function
Generalize command generation for a specific type of commands
2022-01-10 15:00:22 +01:00
asuessenbach
6cbe0ba5e2 Generalize command generation for a specific type of commands
Commands returning a VkResult with a single success- and multiple error codes, that get no non-const pointers and no vectors, just one const pointer is generalized to support a const void pointer as well, replacing that argument to a const& on a templated type.
2022-01-10 11:50:11 +01:00
Andreas Süßenbach
bf62d8f980
Merge pull request #1174 from asuessenbach/operator==
Extend operator==() and operator<=>() on structures to compare null-terminated string members
2022-01-06 10:29:55 +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
Andreas Süßenbach
3b7b8229f6
Merge pull request #1172 from asuessenbach/reflect
Restrict reflect() on structures to non-GCC and GCC version above 7.5.
2022-01-04 08:49:06 +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
Andreas Süßenbach
3de6ccafd6
Merge pull request #1168 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.203
2022-01-03 13:53:19 +01:00
GitHub
1cac07f124 Update Vulkan-Headers to v1.2.203 2021-12-21 00:40:37 +00:00
Andreas Süßenbach
3c481ba374
Merge pull request #1166 from asuessenbach/reflect
Introduce simple reflection function on vk-structs
2021-12-17 17:29:20 +01:00
asuessenbach
ce3eb55ada Introduce simple reflection function on vk-structs
Used that to simplify comparison operators.
2021-12-16 14:35:17 +01:00
Andreas Süßenbach
4d82f64e66
Merge pull request #1165 from asuessenbach/hash
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 18:28:09 +01:00