Commit Graph

173 Commits

Author SHA1 Message Date
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
19138aa7a3 Fix missing {s} in triangle.zig 2021-01-08 19:47:56 +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
1299a828d5 CI: Bump Vulkan SDK version 2020-12-25 17:18:00 +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
78f08e160f Merge pull request #5 from antlilja/pnext-optional
Removed special case for member pNext.
2020-12-04 20:50:49 +01:00
antlilja
bd1e95ca08 Update vk.xml to newest version in README. 2020-12-04 20:48:37 +01:00
Robin Voetter
9a65b9b2eb Merge pull request #4 from antlilja/xml-version
Update vk.xml in triangle example
2020-12-04 20:35:53 +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
antlilja
8c9a04c934 Update vk.xml. 2020-12-04 20:14:19 +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
646d74ab6a Make graphics_context.zig naming consistent 2020-11-26 15:25:54 +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
bcaed6dbf2 CI: Bump goto-bus-stop/setup-zig to 1.3.0 2020-11-17 18:39:03 +01:00
Robin Voetter
e37f7f950c Fix example in readme 2020-11-13 22:14:11 +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
b1c3de250f CI: Bump lunarg version 2020-10-08 12:50:41 +02:00
Robin Voetter
21808410c3 Update readme with CI info 2020-09-28 00:34:12 +02:00
Robin Voetter
575ac45d9c CI: Glfw3 2020-09-28 00:27:14 +02:00
Robin Voetter
0ed4f2449f CI: Also install glfw3-dev 2020-09-28 00:25:43 +02:00
Robin Voetter
1fde634d37 CI: Bump container version 2020-09-28 00:06:18 +02:00
Robin Voetter
9991364994 CI: Install just shaderc 2020-09-28 00:04:17 +02:00
Robin Voetter
70a175e60f CI: Use sudo to install Vulkan SDK 2020-09-27 20:23:33 +02:00
Robin Voetter
dd2faa0c9a CI: Setup Vulkan SDK 2020-09-27 20:21:52 +02:00
Robin Voetter
5f192413c5 CI: Try 3 2020-09-27 20:13:25 +02:00
Robin Voetter
1f0bfec383 CI: Test v2 2020-09-27 20:12:05 +02:00
Robin Voetter
dacf1b704c CI: Can i even run any command 2020-09-27 20:10:19 +02:00
Robin Voetter
6aad278b92 CI: Try more stuff 2020-09-27 20:06:36 +02:00
Robin Voetter
fc3cd6e06e CI: Try different setup-zig version 2020-09-27 20:01:10 +02:00
Robin Voetter
41ac7139fe CI: Zig zen test 2020-09-27 20:00:15 +02:00
Robin Voetter
4c236d2eab Use multiline script for CI test 2020-09-27 19:23:47 +02:00
Robin Voetter
498e2ee03a Create github actions build job 2020-09-27 19:18:21 +02:00
Robin Voetter
9fc2ddbdf7 Add option to override vk.xml path 2020-09-27 19:04: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