1
0
forked from mirror/vulkan-zig
Commit Graph

6 Commits

Author SHA1 Message Date
Robin Voetter
1260c86f60 generate proxying wrappers
Adds InstanceProxy, DeviceProxy, QueueProxy, CommandBufferProxy.
These act similar to the wrapper types, except that they
store and implicitly pass their respective handles.
2024-04-29 19:33:18 +02:00
Robin Voetter
fe036177e9 add --debug flag to aid debugging renerated source 2024-04-29 18:33:33 +02:00
Robin Voetter
c408e57d6d unified command info ii
This unifies command info even more, by making the user first construct
a list of `ApiInfo` to represent the api that they want to use. This
allows for much easier composition of different extensions and features.
2024-04-28 23:59:26 +02:00
Robin Voetter
65f1b0252b ci: build example separate and fix tests
Apparently the tests werent executing for some reason??
2024-04-28 22:44:21 +02:00
Robin Voetter
7ac69f90ef use a separate build.zig for the example
This gives a more concrete example of how to use vulkan-zig, including
build commands as how a downstream user would use vulkan-zig.
2024-04-28 22:22:01 +02:00
Robin Voetter
e1f290399e move generator/ to src/
A long time ago there was the idea to use src/ for something else,
but that is no longer relevant. Its nice to switch to a more
conventional repo layout.
2024-04-28 11:27:49 +02:00