Commit Graph

29 Commits

Author SHA1 Message Date
ashpil
8f10cec149 camel -> snake for command enums + fixes 2021-07-06 10:37:39 +02:00
ashpil
0e65efd9d6 less verbose interface via @Type 2021-07-06 10:37:39 +02:00
Robin Voetter
b3c71d69ea Fix a whole bunch of issues exposed by ziglang/zig#9191
This also includes a workaround for the fact that @"type" refers to the builtin
and not to a variable called "type". See ziglang/zig#2897.
2021-07-06 10:37:39 +02:00
Robin Voetter
419e541a16 zig fmt **.zig 2021-07-06 10:37:39 +02:00
Robin Voetter
4b4ef38c93 Fix incorrect alignment of Flags64 type packed structs 2021-06-08 00:28:03 +02:00
Robin Voetter
beaa5bb0a5 Adapt to changed hashmap API 2021-06-05 13:42:30 +02:00
Robin Voetter
e0101accda CallingConvention and Target live in std, not in builtin 2021-05-21 12:55:14 +02:00
Robin Voetter
5375c873d9 Vulkan 1.2.175 compatibility 2021-04-13 19:52:06 +02:00
Robin Voetter
1e7b5edb10 Allow F as floating-point suffix 2021-03-30 13:08:34 +02:00
Robin Voetter
9f23e2e16d Vulkan 1.2.170 compatibility 2021-02-16 15:26:22 +01:00
Robin Voetter
d8b223bb3b Remove some old code 2021-02-10 00:01:46 +01:00
Robin Voetter
fe85c8975e Small styling fix 2021-01-17 03:49:55 +01:00
Robin Voetter
1c8e6b5a4b Make API-enums non-exhaustive
The Vulkan implementation is not required to
filter enums on values supported by the requested
API, and so may return values that the
implementation doesn't know about. By making
these enums non-exhaustive, the programmer is
forced to deal with these kinds of cases
appropriately.
2021-01-16 17:06:43 +01:00
Robin Voetter
4a3700dbdd Generate fully qualified alias enum variants 2021-01-16 05:14:14 +01:00
Robin Voetter
55e8551cef Adapt to new {s} syntax 2021-01-03 16:18:46 +01:00
Robin Voetter
48b2dee325 Fix #6 2021-01-01 20:04:47 +01:00
Robin Voetter
93101d595f Only use stdcall when on 32-bit windows (https://github.com/ziglang/zig/issues/7337) 2020-12-09 01:30:42 +01:00
Robin Voetter
7fdb6eaad3 Parse & render sType from spec (fixes #3) 2020-11-26 15:47:04 +01:00
Robin Voetter
9b1e427cae Generate getters which accept pNext chains with pointers instead of return value 2020-11-26 14:34:29 +01:00
Robin Voetter
7a79846b1b Update to new opaque syntax 2020-10-08 13:09:41 +02:00
Robin Voetter
7888df1bd3 Attempt to fix vulkan-zig on windows: Make dispatchers accept anytype as loader, properly escape paths in build.zig 2020-09-24 13:41:58 +02:00
Robin Voetter
bcda3eeb11 Opcode rendering 2020-08-15 23:51:37 +02:00
Robin Voetter
d87868c510 Use new IdRenderer in vulkan/generator.zig 2020-08-13 01:00:52 +02:00
Robin Voetter
c708f01e3a Move vulkan/util.zig to id_render.zig, and make it more generic 2020-08-11 18:07:21 +02:00
Robin Voetter
964ad1c0f9 var -> anytype 2020-07-12 14:13:13 +02:00
Robin Voetter
0928b25a53 Add Khronos license information to generated bindings 2020-07-08 01:41:03 +02:00
Robin Voetter
569c9df5c2 TagFixerUpper 2020-07-05 18:22:45 +02:00
Robin Voetter
9b3eff5a72 Rendering from a buffer 2020-07-05 16:27:52 +02:00
Robin Voetter
cebecfe197 Restructure to allow for other binding generators in the future 2020-07-03 16:40:49 +02:00