Commit Graph

132 Commits

Author SHA1 Message Date
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
asuessenbach
d0fa2d4247 Reorder member functions by features and extensions. 2021-05-26 09:59:30 +02:00
asuessenbach
3922b25e9f Add check for multiple listing of types in a feature. 2021-05-06 10:41:57 +02:00
asuessenbach
e370ab5178 Move check on known enum alias value from readEnum to final checkCorrectness. 2021-05-04 17:08:24 +02:00
asuessenbach
7e0c9d16e8 Reorder bitmasks by features and extensions. 2021-05-03 09:22:47 +02:00
asuessenbach
9450883e0e Reorder enums by features and extensions. 2021-04-29 16:23:21 +02:00
asuessenbach
59165f1383 Simplified handling of alias commands 2021-04-28 13:35:14 +02:00
asuessenbach
e47c3c8b84 Reorder commands in DispatchLoaderStatic. 2021-04-28 08:17:11 +02:00
asuessenbach
89df7a1a7b Add check on structures never listed as required in any feature or extension. 2021-04-27 09:06:55 +02:00
asuessenbach
aca79e075d Refactor command generation logic. 2021-04-19 15:57:23 +02:00
asuessenbach
d9bb97d9ec Correct enum values for AccessFlagBits2KHR and PipelineStageFlagBits2KHR.
All those values erroneously started with "e2", instead of just "e".
2021-04-13 12:25:10 +02:00
asuessenbach
7f01d662de Replace dispatcher in vk::rai::Context by helper class vk::raii::ContextDispatcher 2021-04-12 16:17:22 +02:00
asuessenbach
352dfbf430 Add support for functions with a new parameter pattern. 2021-04-12 12:38:04 +02:00
asuessenbach
5e2edc10e0 Reduce parents of a handle from a vector to a single element 2021-03-29 10:11:19 +02:00
asuessenbach
7cae06b5bc Introduce support of a function with multiple success codes, returning two values, and non-zero error codes. 2021-03-10 17:03:47 +01:00
Yiwei Zhang
238093f1c6 Fix enum array initializer using enum constant 2021-03-09 10:12:24 +00:00
asuessenbach
7888f82bda Add support for functions getting a value and returning a VkBool32. 2021-02-24 15:47:30 +01:00
asuessenbach
2cb1c19c7f Introduce raii-compliant handle wrapper classes. 2021-02-22 16:19:12 +01:00
asuessenbach
0441b87c6c Add support for bitmask attribute "bitvalues" and enum attribute "bitwidth". 2021-02-10 13:47:13 +01:00
asuessenbach
3c7123f506 Add platform protection on enum value level. 2021-01-25 19:52:54 +01:00
asuessenbach
db7e75bf06 Remove error checks on unknown enums for disabled extensions. 2021-01-21 22:33:36 +01:00
asuessenbach
0d9f2fb882 Add support for functions getting two values with more than one allowed success code. 2021-01-21 18:11:51 +01:00
Markus Tavenrath
160dc916f9 Change structure member sType to non-const to allow default assignment operator. Make copy constructor and copy assignment default. The latter is required for C++20 designated initializers. Delegate the constructor from C-type to the copy constructor by casting rhs accordingly. Fix warnings on gcc/clang. 2021-01-18 12:25:50 +01:00
asuessenbach
45e06d1753 Special handling for detecting mutual exclusive len usage on structures. 2020-12-14 16:18:23 +01:00
asuessenbach
4bc8906990 Make structure information "obsolete" a vector of bool.
+ remove an obsolete assertion
2020-12-10 11:12:55 +01:00
asuessenbach
40bc006527 Update to VK_HEADER_VERSION 163. 2020-12-01 10:09:03 +01:00
asuessenbach
16ace53e02 Add support for functions that enumerate chained structures. 2020-11-17 09:51:55 +01:00
asuessenbach
864d1854fc Cleanup on call arguments construction. 2020-11-04 10:26:39 +01:00
Andreas Süßenbach
a5b62787fe
Merge pull request #815 from asuessenbach/159
Update to VK_HEADER_VERSION 159.
2020-11-02 17:15:18 +01:00
asuessenbach
8a53e8da06 Update to VK_HEADER_VERSION 159. 2020-11-02 15:15:35 +01:00
asuessenbach
2a700aaa74 Removed default arguments from standard versions of functions, and the shortened function versions of destroy* and free*
This is needed to prevent compiler ambiguities!
2020-11-02 11:51:07 +01:00
asuessenbach
50cc580941 Adding support for functions with a const pointer input with its len specified by a structure member. 2020-10-28 10:18:05 +01:00
asuessenbach
987d6a4d98 Final cleanup on command generation refactoring. 2020-10-26 16:16:48 +01:00
asuessenbach
e4f8003dbd Refactor commands handling pointers to alien data types
+ some dead code elimination
2020-10-25 22:00:53 +01:00
asuessenbach
e973e585c7 Refactor commands enumerating a vector of chained structures. 2020-10-23 22:10:33 +02:00
asuessenbach
5168ba6a11 Refactor command that returns a vector of data and potentially gets vector(s) of data as input. 2020-10-21 16:25:12 +02:00
asuessenbach
75ce35813d Refactor commands enumerating some non-handle, non-StructureChain data type. 2020-10-20 14:24:39 +02:00
asuessenbach
2b47c6f9e5 Refactor command that returns a vector of values and a single value. 2020-10-19 10:15:50 +02:00
asuessenbach
1a851d00af Refactor commands returning some value 2020-10-15 14:50:52 +02:00
asuessenbach
74498b2b9e Refactor commands returning a StructureChain and a Result. 2020-10-15 09:09:35 +02:00
asuessenbach
85e17d053b Refactor commands potentially returning a StructureChain. 2020-10-14 12:24:02 +02:00
asuessenbach
28cc3e6ae7 Refactor simple functions returning some value. 2020-10-13 14:39:12 +02:00
asuessenbach
1050424e85 Refactor functions returning a vector of handles, that might as well be just one. 2020-10-12 17:06:55 +02:00
asuessenbach
d1c03d5ba8 Refactor command consuming two vectors. 2020-10-08 17:05:14 +02:00
asuessenbach
45c187997b Refactor functions returning a vector of handles. 2020-10-08 11:44:50 +02:00
asuessenbach
9dec09ac6e Refactor handle getting functions 2020-10-07 11:54:52 +02:00
asuessenbach
b8b620b118 Refactor command classification code. 2020-10-06 09:54:18 +02:00