Commit Graph

1364 Commits

Author SHA1 Message Date
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
asuessenbach
0c311a7589 Adjust comments in ArrayProxy and ArrayProxyNoTemporaries tests. 2021-11-22 15:11:03 +01:00
Andreas Süßenbach
f61142daf3
Merge pull request #1144 from nisse-work/generalize-ArrayProxy
Generalize ArrayProxy and ArrayProxyNoTemporaries constructors
2021-11-22 14:26:44 +01:00
Niels Möller
f500c42658 Generalize ArrayProxy and ArrayProxyNoTemporaries constructors
Add new constructors that accept any vector-like type (with
compatible .data() and .size() methods). Replaces the more specific
constructors accepting std::array, std::vector and std::span.
2021-11-17 14:26:17 +01:00
Andreas Süßenbach
62a33552f8
Merge pull request #1143 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.199
2021-11-17 09:27:19 +01:00
GitHub
66d80093dc Update Vulkan-Headers to v1.2.199 2021-11-17 00:35:21 +00:00
Andreas Süßenbach
e18a7d4b46
Merge pull request #1141 from asuessenbach/context
Use VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL with vk::raii::Context
2021-11-16 19:17:06 +01:00
asuessenbach
a3807fb92b Use VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL with vk::raii::Context
-> vk::raii::Context constructor now either gets
     no argument as before, loading vkGetInstanceProcAddr via an internal DynamicLoader;
     or a PFN_vkGetInstanceProcAddr, using that to fill the dispatcher
+ changed the sample RAII_Samples/RayTracing to work with VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL defined to be zero
+ fixed the missing destructor call in most of the move assignments of the vk::raii classes
2021-11-16 18:07:19 +01:00
Andreas Süßenbach
a572dd6577
Merge pull request #1142 from asuessenbach/deprecated
Remove deprecated versions of function PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR
2021-11-16 18:02:40 +01:00
asuessenbach
bf73d74aa9 Remove deprecated versions of function PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR 2021-11-16 13:29:50 +01:00
Andreas Süßenbach
22218da7db
Merge pull request #1139 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.198
2021-11-16 11:51:32 +01:00
Andreas Süßenbach
6d5e90ec59
Merge pull request #1140 from asuessenbach/fix
Fix vector constructor argument in generateCommandResultEnumerateChained()
2021-11-16 11:46:08 +01:00
Andreas Süßenbach
9b94931267
Merge pull request #1137 from asuessenbach/link
Fix wrong linking in copied StructureChains with unlinked elements
2021-11-16 08:40:42 +01:00
asuessenbach
bb7e7b3089 Fix vector constructor argument in generateCommandResultEnumerateChained() 2021-11-16 08:38:51 +01:00