Update parser for VulkanSC changes

The update that added the VulkanSC changes to vk.xml broke vulkan-zig previously.
This commit is contained in:
Robin Voetter
2023-03-04 01:24:30 +01:00
parent c801ac0d2e
commit 070500f5e5
7 changed files with 138 additions and 50 deletions

View File

@@ -1,3 +1,8 @@
pub const Api = enum {
vulkan,
vulkansc,
};
pub const Registry = struct {
decls: []Declaration,
api_constants: []ApiConstant,