Commit Graph

1537 Commits

Author SHA1 Message Date
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
Andreas Süßenbach
4e84774ab6
Merge pull request #1019 from asuessenbach/hash
Introduce struct hash<vk::Flags<BitType>>
2021-07-19 16:18:12 +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
Andreas Süßenbach
f70d4291e4
Merge pull request #1018 from asuessenbach/cleanup
Minor cleanup work.
2021-07-19 11:56:04 +02:00
asuessenbach
4190218813 Minor cleanup work. 2021-07-19 10:37:44 +02:00
Andreas Süßenbach
fb8dd65e44
Merge pull request #1016 from asuessenbach/cleanup
Minor cleanup work.
2021-07-12 10:38:00 +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
Andreas Süßenbach
159ef75b21
Merge pull request #1015 from asuessenbach/cleanup
Minor cleanup work.
2021-07-08 10:49:54 +02:00
asuessenbach
f2525a2cce Minor cleanup work. 2021-07-08 09:36:02 +02:00
Andreas Süßenbach
beca6ebc7c
Merge pull request #1013 from asuessenbach/void
Make functions returning a single value of type void (getting a void* as argument) a templated function.
2021-07-07 12:08:48 +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
Andreas Süßenbach
4d48c4151d
Merge pull request #1012 from asuessenbach/raii
Improve command name determination of second level commands in RAII handle wrappers.
2021-07-07 10:03:50 +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
Andreas Süßenbach
b574d94cf9
Merge pull request #1011 from asuessenbach/184
Update to VK_HEADER_VERSION 184.
2021-07-06 10:21:13 +02:00
asuessenbach
98f6375374 Update to VK_HEADER_VERSION 184. 2021-07-06 09:03:42 +02:00
Andreas Süßenbach
2c139e0443
Merge pull request #1009 from asuessenbach/cleanup
Minor cleanup work.
2021-07-06 08:47:32 +02:00
Hannes Harnisch
41fea04504 Updating configuration info in README.md 2021-07-05 16:17:13 +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
Andreas Süßenbach
a90db8ad9b
Merge pull request #1008 from asuessenbach/protect
Add support of attribute "protect" for enum values, third part
2021-06-30 17:01:02 +02:00
asuessenbach
b54860a92b Add support of attribute "protect" for enum values, third part 2021-06-30 15:10:17 +02:00
Andreas Süßenbach
6217c48a88
Merge pull request #1007 from asuessenbach/protect
Add support of attribute "protect" for enum values, second part
2021-06-30 12:17:56 +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
Andreas Süßenbach
83c010d7f1
Merge pull request #1005 from asuessenbach/basetype
Add prefix and postfix support for basetype.
2021-06-30 10:00:26 +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
Andreas Süßenbach
5002a06691
Merge pull request #1003 from asuessenbach/183
Update to VK_HEADER_VERSION 183.
2021-06-29 11:20:12 +02:00
asuessenbach
a4bae802d4 Update to VK_HEADER_VERSION 183. 2021-06-29 08:44:03 +02:00
Andreas Süßenbach
cd8c12e215
Merge pull request #1001 from asuessenbach/docu
Introduce vk_raii_ProgrammingGuide.md
2021-06-28 13:27:28 +02:00
Andreas Süßenbach
86d3c474e8
Merge pull request #1000 from asuessenbach/cleanup
Minor cleanup work
2021-06-28 10:24:08 +02:00
asuessenbach
d486ccccf1 Minor cleanup work 2021-06-28 09:26:42 +02:00
asuessenbach
2a9dc17425 Introduce vk_raii_ProgrammingGuide.md 2021-06-24 15:51:00 +02:00
Andreas Süßenbach
c8170e380e
Merge pull request #999 from asuessenbach/pointer
Improve handling of struct members of type pointer-to-pointer-to-something
2021-06-24 15:49: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
Andreas Süßenbach
fdb8f2edc2
Merge pull request #998 from asuessenbach/alias
Improve filtering of aliases of enum values that map to the very same vk:: enum value.
2021-06-24 12:57:17 +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
Andreas Süßenbach
59e14ad1f2
Merge pull request #997 from asuessenbach/alias
Generalize check on enum alias chaining.
2021-06-23 20:22:27 +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
Andreas Süßenbach
5d1dc692c1
Merge pull request #995 from asuessenbach/values
Add support of attribute "values" for struct members of type uint32_t.
2021-06-23 12:23:39 +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
Andreas Süßenbach
6d5d6661f3
Merge pull request #994 from asuessenbach/raii
Refactor RAII-samples to use std::unique_ptr only if needed.
2021-06-23 11:11:22 +02:00
asuessenbach
e05bea9f13 Add support of attribute "values" for struct members of type uint32_t. 2021-06-23 10:59:55 +02:00
asuessenbach
69e8e5bf84 Refactor RAII-samples to use std::unique_ptr only if needed. 2021-06-23 10:15:56 +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
Andreas Süßenbach
167a4b3c80
Merge pull request #992 from asuessenbach/182
Update to VK_HEADER_VERSION 182.
2021-06-22 10:40:53 +02:00
asuessenbach
cb87348898 Move check on structureAlias from reading to final correctness check. 2021-06-22 10:15:24 +02:00