Robin Voetter
bda8c7213a
Vulkan 1.2.170 compatibility
2021-04-07 21:35:25 +02:00
Robin Voetter
ffb9e9ff3e
Remove some old code
2021-02-10 00:07:04 +01:00
Robin Voetter
8e48a8aa03
Allow top level comments in xml parser
2021-02-10 00:06:57 +01:00
Robin Voetter
50177211cb
Small styling fix
2021-02-10 00:06:50 +01:00
Robin Voetter
9eac24ee39
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-02-10 00:06:41 +01:00
Robin Voetter
2cb1fcc354
Generate fully qualified alias enum variants
2021-02-10 00:06:31 +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
antlilja
bee43cea9d
Removed special case for member pNext.
...
Member pNext is now marked correctly as optional in vk.xml,
this special case is no longer needed.
2020-12-04 20:31:43 +01:00
Robin Voetter
c69f7ef3b9
Also update tests
2020-12-01 14:21:56 +01:00
Robin Voetter
9aa2899f06
Replace std.SegmentedList by std.ArrayList
2020-12-01 14:17:04 +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
c4c0279ecc
Fix TagFixerUpper
2020-11-26 14:33:34 +01:00
Robin Voetter
b48fe074f5
Add CLI interface
2020-11-25 15:29:06 +01:00
Robin Voetter
852b8cb63e
Use new {z} fmt syntax to render identifiers
2020-10-18 13:43:53 +02: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
e0000e4818
Use old HashMap (now ArrayHashMap) implementation
2020-09-09 12:02:37 +02:00
Robin Voetter
ab7b1835a6
Remove SPIR-V stuff
...
After experimenting somewhat, i realize this is gonna require more
effort than i thought it was gonna be. This is probably also not the
right repository for it.
2020-08-16 01:38:34 +02:00
Robin Voetter
bcda3eeb11
Opcode rendering
2020-08-15 23:51:37 +02:00
Robin Voetter
94ad431332
Remove allocator which isn't gonna be used
2020-08-14 21:34:17 +02:00
Robin Voetter
a0ec1b7fbe
SPIR-V registry merging
2020-08-13 21:44:13 +02:00
Robin Voetter
2e4ce7c37e
SPIR-V render setup
2020-08-13 01:42:41 +02:00
Robin Voetter
d87868c510
Use new IdRenderer in vulkan/generator.zig
2020-08-13 01:00:52 +02:00
Robin Voetter
443d180f1e
Separate parsed registries into core and non-core
2020-08-12 02:35:05 +02:00
Robin Voetter
c761d8e635
Make SPIR-V registry parse-able by std.json.parse
2020-08-12 02:20:07 +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
74d6846d68
Use underscores instead of dash in filenames
2020-08-11 17:40:02 +02:00
Robin Voetter
1bf3db150c
Spir-v registry definitions
2020-08-11 02:15:06 +02:00
Robin Voetter
f70ab159bc
Add option to retrieve vk.xml from the LunarG SDK root
2020-08-10 01:39:15 +02:00
Robin Voetter
c16d70f210
Promote using std.build.Pkg to canonicalize package name
2020-08-10 01:22:32 +02:00
Rageoholic
574e49277a
Solve a sharing violation on windows
...
On windows because we fail to close the output_file, when the compiler
goes to open it when reading the file during compiling the actual app it
encounters a sharing violation. This change closes the file, fixing that issue
2020-07-21 08:11:42 -05:00
Robin Voetter
964ad1c0f9
var -> anytype
2020-07-12 14:13:13 +02:00
Robin Voetter
b344d97f98
Remove declaration resolving (just merge enums), fixup wrong bitmasks
2020-07-10 04:00:55 +02:00
Robin Voetter
0928b25a53
Add Khronos license information to generated bindings
2020-07-08 01:41:03 +02:00
Robin Voetter
f2edf4f674
Remove unused function
2020-07-07 01:56:33 +02:00
Robin Voetter
b25521b22f
Documentation on API functions
2020-07-07 01:53:07 +02:00
Robin Voetter
d3413cbac8
Update to new hashmap api part 2
2020-07-06 01:32:14 +02:00
Robin Voetter
a0e3b31fd9
Update to new hashmap api
2020-07-06 01:22:49 +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
e217cbab77
Pipeline(Layout) & render pass creation
2020-07-04 16:46:38 +02:00
Robin Voetter
0be71d1614
Shader compilation utility
2020-07-04 04:19:32 +02:00
Robin Voetter
72917ccdb3
Shader compilation utility
2020-07-04 04:18:56 +02:00
Robin Voetter
e9f286a5d4
Vulkan generate step
2020-07-04 03:00:54 +02:00
Robin Voetter
cebecfe197
Restructure to allow for other binding generators in the future
2020-07-03 16:40:49 +02:00
Robin Voetter
37b002001a
Basic rendering
2020-07-02 22:25:09 +02:00
Robin Voetter
1ebed09413
Graphics context for example
2020-07-02 04:01:59 +02:00