Andreas Süßenbach
323c921a19
Merge pull request #1132 from Saalvage/more-constexpr
...
More support for constexpr
2021-11-15 17:59:19 +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
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
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
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
asuessenbach
0beeac873a
Remove dumb parent-pointer in raii-objects.
2021-11-08 17:31:36 +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
asuessenbach
c2a3cfad1a
Extend enum type search in readEnums.
2021-11-02 18:55:43 +01:00
asuessenbach
c7838676bd
Minor cleanup work.
2021-11-02 09:31:32 +01:00
Andreas Süßenbach
95fbfbe36d
Merge pull request #1115 from asuessenbach/throw
...
Change function throwResultException from static to anonymous namespace
2021-10-25 17:57:45 +02:00
asuessenbach
c5218f5a82
Change function throwResultException from static to anonymous namespace
2021-10-25 15:44:42 +02:00
asuessenbach
e725ff31bd
Refactor parent member of the vk::raii classes.
2021-10-25 13:37:43 +02:00
Andreas Süßenbach
7361d443a3
Merge pull request #1109 from dneto0/dont-crash-gipa
...
Don't overwrite vkGetInstanceProcAddress
2021-10-25 10:47:48 +02:00
asuessenbach
714b953e51
Minor cleanup work.
2021-10-25 09:30:04 +02:00
David Neto
935e5e68fa
Don't overwrite vkGetInstanceProcAddress
...
The vk::DispatchLoaderDynamic::init(vk::VkInstance) method should note
use vkGetInstanceProcAddr to overwrite vkGetInstanceProcAddr itself.
vkGetInstanceProcAddr( a_valid_instance, "vkGetInstanceProcAddr" ) is
required to return NULL.
Fixes: 1108
2021-10-22 04:03:31 -04:00
asuessenbach
5a4eceb0ab
Introduce factory methods for the RAII handle classes.
2021-10-18 13:42:45 +02:00
asuessenbach
7645e4eb82
Minor cleanup work.
2021-10-18 10:35:17 +02:00
asuessenbach
8d23f0ed8c
Fix handling of "void *" in generateCommandResultGetValue
2021-10-14 13:44:44 +02:00
asuessenbach
c3f32b8538
Introduce constructors on nullptr_t for the RAII handle classes.
2021-10-11 17:49:13 +02:00
asuessenbach
dcb654bc0b
Minor cleanup work.
...
+ changed CXX_STANDARD for VulkanHppGenerator from 14 to 17.
2021-10-11 10:20:26 +02:00
asuessenbach
bc942e42da
Add 'inline' to static getDispatchLoaderStatic()
2021-10-07 10:22:19 +02:00
Andreas Süßenbach
0799e35086
Merge pull request #1093 from asuessenbach/disabled
...
Improve handling of disabled extensions.
2021-10-06 15:30:03 +02:00
asuessenbach
fadacdf87b
Improve handling of disabled extensions.
2021-10-06 14:00:40 +02:00
asuessenbach
6db58639f8
Add support of functions taking and returning a vector of data
2021-10-06 12:51:26 +02:00
Andreas Süßenbach
b4db8a9d5a
Merge pull request #1089 from asuessenbach/cleanup
...
Some more code cleanup
2021-10-04 13:57:52 +02:00
asuessenbach
0122305ce8
Some more code cleanup
2021-10-04 12:10:04 +02:00
asuessenbach
cc3549ec58
Change 32-bit test in ArrayWrapper1D to using VK_USE_64_BIT_PTR_DEFINES.
2021-10-04 11:08:19 +02:00
asuessenbach
3fdf58cd5f
Minor cleanup work.
2021-10-04 09:34:57 +02:00
asuessenbach
11f18e8502
Add "singular" version of functions returning a vector of values and one value, now returning just a pair of values
2021-09-27 15:32:23 +02:00
asuessenbach
f555afeac6
Refactor command generation of RAII handles.
2021-09-27 11:30:20 +02:00
asuessenbach
62ee069886
Minor cleanup work.
2021-09-23 14:00:07 +02:00
asuessenbach
80acc02777
Refactor command generation.
2021-09-22 17:25:22 +02:00
asuessenbach
4e055c376d
Move argument type check of func pointers to final check.
2021-09-21 14:20:24 +02:00
asuessenbach
b39d6aa44d
Refactor RAII-handle constructor generation.
2021-09-21 08:36:04 +02:00
asuessenbach
65e9dd2e3c
Minor cleanup work.
2021-09-18 22:55:31 +02:00
asuessenbach
025a4f5751
Remove wrong 'typename' from commands returning two values.
2021-09-14 17:47:39 +02:00
asuessenbach
dd1855a820
Add support for commands returning two values.
2021-09-14 15:38:35 +02:00
asuessenbach
f17ff86a97
Remove restriction on get-commands to start with 'vkGet'
2021-09-14 08:37:27 +02:00
asuessenbach
48d6492647
Minor cleanup work.
2021-09-13 14:49:02 +02:00
asuessenbach
1415ec96d9
Removed check on missing enum values as selections of a union, which is allowed.
2021-09-13 09:51:14 +02:00
asuessenbach
13bdb2ff69
Introducde getDispatchLoaderStatic() to prevent dangling pointers in debug builds
2021-09-08 13:38:56 +02:00
asuessenbach
dea1345852
Introduce VULKAN_HPP_STATIC_ASSERT.
2021-09-07 13:47:18 +02:00
asuessenbach
c13b8f56bf
Refactor commands generation.
2021-09-06 14:38:17 +02:00
asuessenbach
de750926dd
Downgrade attribute "extends" of enum alias elements from required to optional.
2021-09-06 09:18:28 +02:00
asuessenbach
b563641fa6
Remove constexpr specifier from defaulted struct assignment operators.
...
Those operators are implicitly declared as constexpr, if they are constexpr-compatible.
2021-09-01 10:02:25 +02:00
asuessenbach
d645cbb056
Introduce NativeType to get the C-type from the corresponding Cpp-type.
...
This name is defined for Handles, Structures, and Unions.
2021-08-31 14:58:34 +02:00
asuessenbach
c71b0e5100
Fix extension name used to protect types.
2021-08-31 11:57:48 +02:00
asuessenbach
2c982ce501
Fix extension name used to check consistency of enum values.
2021-08-31 10:36:53 +02:00