Commit Graph

37 Commits

Author SHA1 Message Date
Robin Voetter
070500f5e5 Update parser for VulkanSC changes
The update that added the VulkanSC changes to vk.xml broke vulkan-zig previously.
2023-03-04 01:24:30 +01:00
mlarouche
e9e4e0d77f Update to latest std lib changes regarding Zig parsing 2023-02-04 16:54:15 -05:00
Robin Voetter
0f496af7e9 Adapt to new ArgsIterator api 2022-02-02 17:14:33 +01:00
antlilja
9034c90184 Fix order of handling of optional error union type
std.process.args().next(...) returns an optional error union type, the
potential error has to be handled before the optional can be unwrapped.
2021-12-24 23:29:31 +01:00
Robin Voetter
797ae8af88 Adapt to latest Zig master
See ziglang/zig/pull/10055
2021-12-09 00:28:17 +01:00
Robin Voetter
ecf3ba4a39 Adapt to Zig master 2021-07-06 10:44:08 +02:00
Robin Voetter
79d901a3e0 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-06-24 02:11:36 +02:00
Robin Voetter
511211f038 zig fmt **.zig
This also replaces @byteOffsetOf with @offsetOf.
2021-06-13 15:15:42 +02:00
Robin Voetter
bb21cf6892 Update to new zig render API 2021-02-26 12:42:40 +01:00
Robin Voetter
55e8551cef Adapt to new {s} syntax 2021-01-03 16:18:46 +01:00
Robin Voetter
b48fe074f5 Add CLI interface 2020-11-25 15:29:06 +01:00
Robin Voetter
3cc8df9c66 Remove old main 2020-07-01 03:13:57 +02:00
Robin Voetter
f0813e99d2 Basic setup for examples 2020-07-01 03:07:55 +02:00
Robin Voetter
c6054d2665 API Version parsing & rendering 2020-06-30 16:48:58 +02:00
Robin Voetter
1d3a1101aa Remove feature/extension selection
When an extension is promoted to core, the tags of all the relevant
items are changed. To allow for proper feature/extension selection, all
these items would need to be fixed up manually, which i think is too
much work for now
2020-06-30 03:34:07 +02:00
Robin Voetter
c454400ff3 Extension/feature filtering + main generate function 2020-06-29 19:45:23 +02:00
Robin Voetter
45fa195eab Adapt ProfilingAllocator to new allocator interface 2020-06-28 01:41:53 +02:00
Robin Voetter
df886c5167 Api constant rendering 2020-06-16 19:24:39 +02:00
Robin Voetter
a6db3db211 Parse enum aliases 2020-06-16 14:42:08 +02:00
Robin Voetter
101654900d Adhere to original enum field order 2020-06-15 13:42:10 +02:00
Robin Voetter
b9cbe5a155 Rendering setup 2020-06-15 04:11:13 +02:00
Robin Voetter
e6884a4622 DeclarationResolver 2020-06-13 16:00:48 +02:00
Robin Voetter
ff9dff6544 Feature level/promotion parsing 2020-06-12 03:47:01 +02:00
Robin Voetter
c17d33bb06 Restructure spec-c-parse to registry/c-parse and spec-parse to registry/parse 2020-06-11 02:13:12 +02:00
Robin Voetter
ad1abc7602 Funcpointer parsing 2020-06-11 01:54:24 +02:00
Robin Voetter
47c9bcb8a3 begin work on new registry: api constants & tags 2020-06-09 03:02:17 +02:00
Robin Voetter
c667287d7d Zig 0.6.0 compat; More vulkan compat 2020-05-11 01:51:23 +02:00
Robin Voetter
191c445683 API definitions and enum declaration rendering 2020-01-27 23:14:52 +01:00
Robin Voetter
b5d71079e8 Make registry generation a member function 2020-01-24 15:14:52 +01:00
Robin Voetter
b093f6b61e Registry: Header revision 2020-01-24 13:56:22 +01:00
Robin Voetter
7d2150212c Single tagged union for all declarations instead of separate hash maps 2020-01-23 21:34:23 +01:00
Robin Voetter
ab84fa591c Registry: Structs 2020-01-23 00:06:40 +01:00
Robin Voetter
1d3f80c6a9 Rename spec -> registry + type reading 2020-01-22 21:03:03 +01:00
Robin Voetter
2a2eeaf573 Spec: Enums 2020-01-14 01:30:33 +01:00
Robin Voetter
7304493f51 Xml parser 2020-01-05 18:35:30 +01:00
Robin Voetter
b49c64862e Dingen 2019-10-25 22:45:57 +02:00
Robin Voetter
e5ca4a90f1 Initial commit 2019-10-13 00:52:35 +02:00