Robin Voetter
2115516b9b
Merge pull request #136 from Snektron/proxy
...
Proxy
2024-04-29 23:36:53 +02:00
Robin Voetter
cb7873e8e4
add proxying wrappers description to readme
2024-04-29 21:37:50 +02:00
Robin Voetter
defc4c53d3
update example with new proxying wrappers
2024-04-29 21:37:36 +02:00
Robin Voetter
8694a69697
proxy wrappers: strip queue and cmd from QueueProxy and CommandBufferProxy functions
2024-04-29 21:14:47 +02:00
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
a71c58bc65
Merge pull request #135 from Snektron/meta-ii
...
unified command info ii
2024-04-29 00:03:20 +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
66c2a743ba
remove example vk.xml
...
This file is now fetched using the package manager.
2024-04-28 22:55:59 +02:00
Robin Voetter
143b506553
Merge pull request #134 from Snektron/build-improvements
...
Build improvements
2024-04-28 22:47:55 +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
883ab2c2c4
update and fix README
...
Updates and fixes the explanations for how to use vulkan-zig so that they
are up-to-date in general, and up-to-date with the recent changes to
building the example.
2024-04-28 22:22:47 +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
1fdb930ae3
build example using tool instead of custom step
...
We are about to get rid of the custom build steps, so build
the example in a similar way that the downstream user would.
2024-04-28 14:20:12 +02:00
Robin Voetter
c5725dfb2e
rename 'generator' binary to 'vulkan-zig-generator'
...
This changes the name of the generator binary from something
very generic to something a little more descriptive. If using
the package manager method to use the generator, this will
require updating to the new name.
2024-04-28 11:33:58 +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
Robin Voetter
c3c9333d73
Remove zig.mod
...
Seems this is not really relevant anymore with the new build system
2024-04-28 11:26:44 +02:00
Robin Voetter
c212653f20
Merge pull request #133 from Snektron/ci-fmt
...
ci: format check
2024-04-28 11:00:56 +02:00
Robin Voetter
82ca63bce8
ci: update step versions
2024-04-28 10:56:23 +02:00
Robin Voetter
f811e5b926
ci: format check
2024-04-28 10:49:43 +02:00
Robin Voetter
2ac60ff7cd
Merge pull request #127 from bluesillybeard/master
...
Add extension function metadata for #112
2024-04-28 10:38:34 +02:00
bluesillybeard
d19313ba75
Run zig fmt
2024-04-27 21:27:43 -06:00
bluesillybeard
110d836854
Refactor example to use extension info and feature info for functions
2024-04-26 22:15:08 -06:00
bluesillybeard
e4d6c50b55
Increase branch quota for command flags
2024-04-26 22:14:26 -06:00
bluesillybeard
9479fe480a
Add feature info
2024-04-26 21:56:38 -06:00
bluesillybeard
d4a04e0bea
Implement initial suggestions on PR
2024-04-26 20:44:40 -06:00
dan
500d7cc3e8
fix: change ComptimeStringMap to StaticStringMap
...
reflect changes made in 8af59d1f98
2024-04-26 20:44:40 -06:00
Robin Voetter
571cecdda6
actually run the tests
2024-04-26 20:44:40 -06:00
Robin Voetter
2047f7e7f2
Merge pull request #129 from igaryhe/update-comptimestringmap
...
fix: change ComptimeStringMap to StaticStringMap
2024-04-26 20:35:51 +02:00
dan
bab8f1883d
fix: change ComptimeStringMap to StaticStringMap
...
reflect changes made in 8af59d1f98
2024-04-24 11:16:43 +08:00
Robin Voetter
8391911683
actually run the tests
2024-04-13 23:18:44 +02:00
bluesillybeard
9c45afca2e
Add extension function metadata for #112
2024-04-10 17:06:43 -06:00
Robin Voetter
e60869528c
Merge pull request #126 from igaryhe/fix-fieldparentptr
...
Fix broken @fieldParentPtr
2024-04-01 17:03:38 +02:00
dan
e840119290
Fix broken @fieldParentPtr
2024-03-31 19:42:56 +08:00
Robin Voetter
ac4103a733
Merge pull request #123 from igaryhe/fix-container-layout
...
make ContainerLayout field lowercase
2024-03-14 06:07:27 +01:00
dan
b7ef4e7a76
make ContainerLayout field lowercase
...
sync changes with zig master branch
099f3c4039d5702b073639ef8b55881973b71c80.
2024-03-13 23:29:53 +08:00
Robin Voetter
7f161ce0ed
Merge pull request #121 from Mikastiv/master
...
remove no longer used error from set
2024-02-27 08:48:29 +01:00
Mikastiv
d1e6ebf931
remove no longer used error from set
2024-02-27 00:43:06 -05:00
Robin Voetter
b1f3820d08
Merge pull request #119 from Mikastiv/master
...
Fix compile error for the generator
2024-02-18 01:30:33 +01:00
Mikastiv
85532cf243
fix compile error
2024-02-17 15:20:57 -05:00
Robin Voetter
d0897a14da
fix parsing issues with vk 1.3.278
...
This change introduced len/optional attributes for
arrays. Previously, we assumed that these would only
occur on pointers, but now, this information is also
available for arrays.
This adapts the registery and parsing code to also
parse these properly. No modifications are made to the
rendering part as of yet, since these partially filled
arrays cannot be cleanly represented in Zig.
2024-02-17 16:13:37 +01:00
Robin Voetter
cebfcc6045
improve error handling of generator tool
...
This now also prints more detailed error messages,
similar to the build step.
2024-02-17 15:33:22 +01:00
Robin Voetter
2b6d7691f1
Merge pull request #118 from Sirius902/zig-master
...
Compile on Zig master
2024-02-06 20:29:11 +01:00
Sirius902
be2ebfbff4
Compile on Zig master
2024-02-06 10:35:37 -08:00
Robin Voetter
62e981ad4e
Merge pull request #117 from Sirius902/minimize-fix
...
[Triangle Example] Fix crash when minimizing window
2024-01-24 09:31:20 +01:00
Sirius902
e3bc661349
Fix crash when minimizing window
...
Wait for the device to be idle before exiting
2024-01-23 23:34:36 -08:00
Robin Voetter
d5e577f3f0
Merge pull request #116 from antlilja/fix-casts
...
Fix old style casts in generated vk.zig
2024-01-18 16:32:07 +01:00
antlilja
e72a6bb2d0
Fix old casts (rename and remove type) in vk.zig
2024-01-18 16:21:32 +01:00
Robin Voetter
290aaca5b8
Merge pull request #113 from SammyJames/new_modules
...
fixing up vulkan-zig for new build sys
2024-01-05 10:22:22 +01:00
sammy j
57ad4d5e16
fixing up vulkan-zig for new build design
2024-01-02 18:28:11 -08:00