Commit Graph

535 Commits

Author SHA1 Message Date
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
asuessenbach
74cb47eb82 Split vulkan.hpp into multiple sub-headers 2021-06-14 15:35:34 +02:00
asuessenbach
1ad4a23234 Minor cleanup work 2021-06-14 09:26:26 +02:00
asuessenbach
b0bf764266 Re-arranged handling of FlagBits not listed as required for a Flags. 2021-06-08 11:08:11 +02:00
Andreas Süßenbach
d3888a84f1
Merge pull request #981 from asuessenbach/cleanup
Minor cleanup work.
2021-06-07 15:18:58 +02:00
asuessenbach
d795efa30a Minor cleanup work. 2021-06-07 10:26:00 +02:00
asuessenbach
43e3b2245a Update to VK_HEADER_VERSION 180. 2021-06-07 09:25:15 +02:00
asuessenbach
f2d623cb7a Correct postfix tag of some enums. 2021-06-01 19:48:06 +02:00
Andreas Süßenbach
f5307046ae
Merge pull request #976 from asuessenbach/check
Turn an assertion on identifying a command into a check.
2021-06-01 08:13:20 +02:00
asuessenbach
5834d61145 Turn an assertion on identifying a command into a check.
+ some minor cleanup work.
2021-05-31 18:12:24 +02:00
asuessenbach
54b363320a Adjustments in AppVeyor build. 2021-05-31 17:46:07 +02:00
scribam
189f4ebf1f Support BSD operating systems 2021-05-31 10:28:16 +02:00