Commit Graph

1427 Commits

Author SHA1 Message Date
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
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
Andreas Süßenbach
80dada6a7b
Merge pull request #1163 from asuessenbach/formats
Check for correct formats specifications only if formats are specified.
2021-12-08 11:23:08 +01:00
Andreas Süßenbach
598410aa03
Merge pull request #1162 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.202
2021-12-08 11:16:19 +01:00
asuessenbach
78379f769d Check for correct formats specifications only if formats are specified. 2021-12-08 08:42:04 +01:00
GitHub
c109b8b2f4 Update Vulkan-Headers to v1.2.202 2021-12-08 00:38:42 +00:00
Andreas Süßenbach
ad47832799
Merge pull request #1160 from asuessenbach/structs
Make struct cast operators explicit.
2021-12-07 13:36:17 +01:00
asuessenbach
6fdeaa8001 Make struct cast operators explicit. 2021-12-07 10:39:23 +01:00
Andreas Süßenbach
cdbfbcbc80
Merge pull request #1159 from asuessenbach/formats
Downgrade <formats> tag from required to optional.
2021-12-07 08:22:14 +01:00
asuessenbach
55651f5120 Downgrade <formats> tag from required to optional. 2021-12-06 17:18:42 +01:00
Andreas Süßenbach
16db982d08
Merge pull request #1157 from asuessenbach/hash
Introduce support of std::hash for vk-structures.
2021-12-03 11:18:33 +01:00
asuessenbach
3515c720fc Introduce support of std::hash for vk-structures. 2021-12-02 23:28:26 +01:00
Andreas Süßenbach
bc7a5b56b9
Merge pull request #1156 from asuessenbach/check
Enable check on planeIndex in format components
2021-12-02 16:21:41 +01:00
asuessenbach
e9b463000e Enable check on planeIndex in format components 2021-12-02 12:27:34 +01:00
Andreas Süßenbach
a722dd406c
Merge pull request #1155 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.201
2021-12-02 12:21:40 +01:00
GitHub
09cc1f69c8 Update Vulkan-Headers to v1.2.201 2021-12-02 00:35:54 +00:00
Andreas Süßenbach
4c4db1a6e4
Merge pull request #1153 from asuessenbach/format
Introduce a couple of trait functions on vk::Format.
2021-11-29 13:28:15 +01:00
asuessenbach
5d5182ce70 Introduce a couple of trait functions on vk::Format. 2021-11-29 10:00:19 +01:00
Andreas Süßenbach
333dbc7375
Merge pull request #1152 from asuessenbach/check
Extended checks on VkFormat.
2021-11-25 12:41:36 +01:00
asuessenbach
3abe5cb0df Extended checks on VkFormat. 2021-11-25 10:23: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
Andreas Süßenbach
736b33c650
Merge pull request #1150 from asuessenbach/fix
Filter out to get vkGetInstanceProcAddr in vk::raii::InstanceDispatcher
2021-11-24 12:25:42 +01:00
Andreas Süßenbach
b31f4872d9
Merge pull request #1148 from asuessenbach/formats
Add support for new elements <formats> in vk.xml.
2021-11-24 09:00:35 +01:00
asuessenbach
8e3a52edc0 Filter out to get vkGetInstanceProcAddr in vk::raii::InstanceDispatcher
Since Vulkan 1.2 this can return nullptr!
2021-11-24 08:42:52 +01:00
GitHub
303bdb2238 Update Vulkan-Headers to v1.2.200 2021-11-24 00:36:04 +00:00
asuessenbach
976debbd80 Add support for new elements <formats> in vk.xml. 2021-11-23 13:23:14 +01:00
Andreas Süßenbach
387bc4f118
Merge pull request #1146 from asuessenbach/ArrayProxy
Adjust comments in ArrayProxy and ArrayProxyNoTemporaries tests.
2021-11-23 08:23:53 +01:00