Commit Graph

27 Commits

Author SHA1 Message Date
Robin Voetter
09d2de4fb6 Add special cases for bit packed structs
This commit adds special cases for AccelerationStructureInstanceKHR and
VkAccelerationStructureSRTMotionInstanceNV. These types use bit-packed
fields which are not representable in the current version of the zig
stage 2 compiler. This might change when
https://github.com/ziglang/zig/issues/13009 is resolved.

Fixes #56
2022-10-07 00:21:15 +02:00
Robin Voetter
5af6ffe864 zig stage 2 compatibility 2022-08-20 11:31:36 +02:00
Robin Voetter
cc87740422 improve xml parser 2022-08-20 00:31:42 +02:00
Robin Voetter
797ae8af88 Adapt to latest Zig master
See ziglang/zig/pull/10055
2021-12-09 00:28:17 +01:00
Clement Rey
c036464d21 use Allocator.dupe instead of std.mem.dupe 2021-12-09 00:28:17 +01:00
Robin Voetter
511211f038 zig fmt **.zig
This also replaces @byteOffsetOf with @offsetOf.
2021-06-13 15:15:42 +02:00
Robin Voetter
1ebdd7f063 Adapt to Zig changes: Handle errors of testing functions 2021-05-11 14:23:29 +02:00
Robin Voetter
938359c6c9 Fix parse error 2021-03-30 12:53:32 +02:00
Robin Voetter
a1f08ee687 Allow top level comments in xml parser 2021-02-01 02:24:57 +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
e6884a4622 DeclarationResolver 2020-06-13 16:00:48 +02:00
Robin Voetter
fb390bde1d CTokenizer & XmlCTokenizer 2020-06-10 02:10:37 +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
b093f6b61e Registry: Header revision 2020-01-24 13:56:22 +01:00
Robin Voetter
d9976a4271 Registry: API constants 2020-01-24 13:19:49 +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
1d05850c1d Remove workaround as it is apparently works without now 2020-01-12 13:14:19 +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
d02231d6a7 begin parser 2019-10-22 12:10:47 +02:00
Robin Voetter
2d07783e37 Make XmlUtf8Parser be in iterator-style again 2019-10-21 23:52:34 +02:00
Robin Voetter
721acad43f Replace UnescapeIterator with XmlUtf8Parser 2019-10-21 22:56:36 +02:00
Robin Voetter
23ed9e610a XML unescape iterator 2019-10-14 01:58:45 +02:00