Commit Graph

1781 Commits

Author SHA1 Message Date
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
Andreas Süßenbach
f727d2a43c
Merge pull request #1138 from asuessenbach/fix
Fix allocator name in generateCommandResultEnumerateChained()
2021-11-16 08:30:39 +01:00
GitHub
ce009ae57d Update Vulkan-Headers to v1.2.198 2021-11-16 00:35:26 +00:00
asuessenbach
75bf4a0f93 Fix allocator name in generateCommandResultEnumerateChained()
+ correctly format vulkan_structs.hpp
2021-11-15 23:25:42 +01:00
Andreas Süßenbach
323c921a19
Merge pull request #1132 from Saalvage/more-constexpr
More support for constexpr
2021-11-15 17:59:19 +01:00
Andreas Süßenbach
47b3e98d97
Merge pull request #1136 from asuessenbach/function
Add support of functions enumerating chained structure data.
2021-11-15 17:57:45 +01:00
asuessenbach
5009b39f57 Fix wrong linking in copied StructureChains with unlinked elements 2021-11-15 17:50:18 +01:00
asuessenbach
b5d312187c Add support of functions enumerating chained structure data.
+ slightly reordered error handling in enumerating functions.
2021-11-15 15:05:17 +01:00
Salvage
98abd9babc
Revert "Add basic .gitignore"
This reverts commit f681e8b909.
2021-11-15 11:06:22 +01:00
Andreas Süßenbach
58903f6dc7
Merge pull request #1131 from asuessenbach/cleanup
Minor cleanup work.
2021-11-15 10:07:00 +01:00
Stefan
dc6858d193
Slightly simplified setup instructions
On one hand the erradication of a step simplifies the whole procedure, on the other removing the non-functional `-G` template will allow simply copy & pasting the entire command without any need for modifications since `-G` isn't explicitely required most of the time.
2021-11-12 03:08:52 +01:00
Salvage
f681e8b909
Add basic .gitignore 2021-11-12 03:01:29 +01:00
Salvage
4017a99055
More constexpr support! 2021-11-12 02:59:37 +01:00
asuessenbach
e5f9ef470e Minor cleanup work. 2021-11-11 16:00:22 +01:00
Andreas Süßenbach
75b8e97bcd
Merge pull request #1130 from asuessenbach/ComponentMapping
Removed explicit setting of the ComponentMapping for ImageViews in samples to RGBA, as the default of Identity does the same.
2021-11-11 13:04:07 +01:00
asuessenbach
9b7adb35ee Removed explicit setting of the ComponentMapping for ImageViews in samples to RGBA, as the default of Identity does the same. 2021-11-11 11:49:07 +01:00
Andreas Süßenbach
d8c9f4f0ee
Merge pull request #1129 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.198
2021-11-10 10:10:03 +01:00
GitHub
7ee89386ba Update Vulkan-Headers to v1.2.198 2021-11-10 00:35:52 +00:00
Andreas Süßenbach
f352a3efd8
Merge pull request #1128 from asuessenbach/version
Check for "VK_API_VERSION_m_n" or "VK_VERSION_m_n" in SPIRVCapabilities and SPIRVExtensions
2021-11-09 11:04:29 +01:00
Andreas Süßenbach
b7f2409710
Merge pull request #1127 from asuessenbach/cleanup
Minor cleanup work.
2021-11-09 09:51:26 +01:00
asuessenbach
08bbbe892f Check for "VK_API_VERSION_m_n" or "VK_VERSION_m_n" in SPIRVCapabilities and SPIRVExtensions 2021-11-09 08:57:08 +01:00
asuessenbach
2a55e8ef2f Minor cleanup work. 2021-11-09 08:40:53 +01:00
Andreas Süßenbach
b7ce8315be
Merge pull request #1125 from asuessenbach/parent
Remove dumb parent-pointer in raii-objects.
2021-11-09 08:34:12 +01:00
asuessenbach
0beeac873a Remove dumb parent-pointer in raii-objects. 2021-11-08 17:31:36 +01:00
Andreas Süßenbach
6da2240053
Merge pull request #1124 from asuessenbach/dispatcher
Change m_dispatcher in vk::raii::Context, vk::raii::Instance, and vk::raii::Device from member to std::unique_ptr<>
2021-11-04 15:05:32 +01:00
asuessenbach
533129308a Change m_dispatcher in vk::raii::Context, vk::raii::Instance and vk::raii::Device from member to std::unique_ptr<> 2021-11-04 13:53:43 +01:00
Andreas Süßenbach
98b728280d
Merge pull request #1120 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.2.197
2021-11-03 13:15:02 +01:00
GitHub
4b9b902b59 Update Vulkan-Headers to v1.2.197 2021-11-03 00:34:42 +00:00
Andreas Süßenbach
fa98c57db6
Merge pull request #1119 from asuessenbach/enum
Extend enum type search in readEnums.
2021-11-02 21:49:29 +01:00
asuessenbach
c2a3cfad1a Extend enum type search in readEnums. 2021-11-02 18:55:43 +01:00
Andreas Süßenbach
82d40057e0
Merge pull request #1118 from asuessenbach/cleanup
Minor cleanup work.
2021-11-02 11:12:05 +01:00
asuessenbach
c7838676bd Minor cleanup work. 2021-11-02 09:31:32 +01:00
Andreas Süßenbach
e98180f81b
Merge pull request #1117 from dneto0/clang-fmt-11
Use and recommend clang-format-11, not clang-format-10
2021-10-26 09:11:05 +02:00
David Neto
938d9e60e0 Use and recommend clang-format-11, not clang-format-10
Also:
- Fix the numbered list formatting in the README.md
- Describe the -DVULKAN_HPP_RUN_GENERATOR=ON option

Fixes: #1116
2021-10-25 12:45:39 -04:00