Commit Graph

546 Commits

Author SHA1 Message Date
Andreas Süßenbach
7f0f77749d
Merge pull request #1048 from asuessenbach/build
Resolve two release build issues.
2021-08-09 13:51:31 +02:00
Andreas Süßenbach
07a99a0d67
Merge pull request #1047 from asuessenbach/altlen
Use "altlen" attribute instead of "len", if present.
2021-08-09 11:58:35 +02:00
asuessenbach
03bf775566 Resolve two release build issues. 2021-08-09 11:39:35 +02:00
asuessenbach
e03d7d093d Use "altlen" attribute instead of "len", if present. 2021-08-09 11:02:35 +02:00
asuessenbach
9d7ade83f2 Minor cleanup work. 2021-08-05 17:28:06 +02:00
asuessenbach
af80b7aee8 Introduce constructors of ArrayProxy and ArrayProxyNoTemporaries from std::span (C++20) 2021-08-05 13:37:49 +02:00
asuessenbach
584e7115e8 Rearrange handling of struct aliases. 2021-08-05 09:21:55 +02:00
asuessenbach
5532ac3b67 move checks on StructureAliases before checks on Structures. 2021-08-04 17:17:27 +02:00
asuessenbach
35a43611f8 Improved some checks on structures/aliases 2021-08-04 15:28:59 +02:00
asuessenbach
6bbd64aaa5 Minor cleanup work. 2021-08-04 13:34:08 +02:00
asuessenbach
6e1a3de4d2 Update to VK_HEADER_VERSION 187 2021-08-04 10:45:53 +02:00
asuessenbach
5066b7b488 Minor cleanup work. 2021-08-02 10:17:22 +02:00
asuessenbach
9bd672bc89 Minor cleanup work. 2021-07-29 16:29:53 +02:00
asuessenbach
6f067eecac Filter constructors for unions with multiple elements of the same type. 2021-07-28 09:13:25 +02:00
asuessenbach
3247dce132 Change dispatcher default argument in ObjectDestroy, ObjectFree, ObjectRelease, and PoolFree constructor VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT 2021-07-27 14:33:25 +02:00
asuessenbach
c3da5fa53d Add check for BitFlags that are required by a Flags bitmask but not listed with any feature or extension. 2021-07-27 10:07:02 +02:00
asuessenbach
e014778535 Add support for functions returning two values, with multiple succes codes 2021-07-26 14:51:10 +02:00
asuessenbach
93cfc93fa6 Minor cleanup work. 2021-07-26 11:05:07 +02:00
asuessenbach
5117c83ad9 Add placeholder members to Dispatchers to keep the relative position of other members constant when compiling for different platforms 2021-07-22 12:00:44 +02:00
asuessenbach
4a3c6d024d Gather commands and types per require-block in features and extensions 2021-07-21 17:09:21 +02:00
asuessenbach
c9955dc16f Correct platform check on required extensions. 2021-07-21 11:49:04 +02:00
Andreas Süßenbach
7255bfef39
Merge pull request #1020 from asuessenbach/versioncheck
Introduce version check in function wrappers
2021-07-21 08:19:23 +02:00
asuessenbach
987bd214e5 Introduce version check in function wrappers
The assertions fire when the dispatcher and the actual function call is compiled with different VK_HEADER_VERSION.
2021-07-20 15:38:54 +02:00
asuessenbach
488780dfd4 Introduce struct hash<vk::Flags<BitType>>
Allows the use of any vk::*Flags type as the key in a std::unordered_map
2021-07-19 12:12:12 +02:00
asuessenbach
4190218813 Minor cleanup work. 2021-07-19 10:37:44 +02:00
asuessenbach
ff6985fd34 Minor cleanup work. 2021-07-11 00:10:25 +02:00
asuessenbach
a790cfecf2 Minor cleanup work. 2021-07-08 17:30:53 +02:00
asuessenbach
f2525a2cce Minor cleanup work. 2021-07-08 09:36:02 +02:00
asuessenbach
0bdb0cdcab Make functions returning a single value of type void (getting a void* as argument) a templated function. 2021-07-07 10:36:13 +02:00
asuessenbach
7a534998ba Improve command name determination of second level commands in RAII handle wrappers. 2021-07-07 09:03:54 +02:00
Andreas Süßenbach
793f70dbad
Merge pull request #1010 from hannes-harnisch/master
Adding configuration option to disable struct/union setters and union constructors
2021-07-06 14:25:51 +02:00
Hannes Harnisch
9df9d582f5 Adding ifdefs for NO_STRUCT_SETTERS 2021-07-05 16:14:43 +02:00
asuessenbach
6d1d53c857 Minor cleanup work. 2021-07-05 09:29:12 +02:00
asuessenbach
b54860a92b Add support of attribute "protect" for enum values, third part 2021-06-30 15:10:17 +02:00
asuessenbach
3b46f5c497 Add support of attribute "protect" for enum values, second part 2021-06-30 11:14:15 +02:00
Andreas Süßenbach
4dcc1f06b4
Merge pull request #1006 from asuessenbach/protect
Add support of attribute "protect" for enum values.
2021-06-30 10:50:32 +02:00
asuessenbach
7e37cfb5d7 Add support of attribute "protect" for enum values. 2021-06-30 09:58:58 +02:00
asuessenbach
5c3e410592 Add prefix and postfix support for basetype. 2021-06-30 08:56:05 +02:00
asuessenbach
d486ccccf1 Minor cleanup work 2021-06-28 09:26:42 +02:00
asuessenbach
6fa59ce5af Improve handling of struct members of type pointer-to-pointer-to-something 2021-06-24 14:24:49 +02:00
asuessenbach
00485f94bf Improve filtering of aliases of enum values that map to the very same vk:: enum value. 2021-06-24 11:09:49 +02:00
asuessenbach
45bad15ee5 Generalize check on enum alias chaining. 2021-06-23 17:15:33 +02:00
Andreas Süßenbach
f7c7f821a4
Merge pull request #996 from asuessenbach/bool
Introduce operator bool() and operator!() on vk::raii handle wrapper classes
2021-06-23 13:21:53 +02:00
asuessenbach
71e67fa32d Introduce operator bool() and operator!() on vk::raii handle wrapper classes
Only if VULKAN_HPP_RAII_ENABLE_DEFAULT_CONSTRUCTORS is defined, as otherwise those checks are not meaningful.
2021-06-23 11:37:51 +02:00
asuessenbach
e05bea9f13 Add support of attribute "values" for struct members of type uint32_t. 2021-06-23 10:59:55 +02:00
Andreas Süßenbach
da2ecae452
Merge pull request #993 from asuessenbach/structureAlias
Move check on structureAlias from reading to final correctness check.
2021-06-22 11:49:45 +02:00
asuessenbach
cb87348898 Move check on structureAlias from reading to final correctness check. 2021-06-22 10:15:24 +02:00
asuessenbach
9c0c2095d7 Update to VK_HEADER_VERSION 182. 2021-06-22 09:40:12 +02:00
asuessenbach
de9688cce6 Minor cleanup work. 2021-06-21 09:29:48 +02:00
asuessenbach
9fbd3e3552 Introduce VULKAN_HPP_RAII_ENABLE_DEFAULT_CONSTRUCTORS 2021-06-17 17:11:12 +02:00