Commit Graph

532 Commits

Author SHA1 Message Date
Emil Lai
543381c7dc Update README.md
Substitute `.addImport(..)` with `.root_module.addImport(..)` as the former seems to be gone.
2024-08-09 23:24:37 +02:00
Robin Voetter
d7ad51c9b8 Merge pull request #150 from antlilja/lazy-path-compile-command
Add ability to pass a LazyPath as compile command to the ShaderCompileStep
2024-08-08 22:41:58 +02:00
Robin Voetter
9f6e6177b1 Merge pull request #152 from alichraghi/master
update to latest zig
2024-07-16 09:17:12 +02:00
Ali Cheraghi
0125bcc466 update to latest zig 2024-07-16 09:56:19 +03:30
antlilja
c2e755d934 Add ability to pass a LazyPath to ShaderCompileStep
Allows for executables generated by the
build system to be used as shader compilers.
2024-07-09 12:35:00 +02:00
Robin Voetter
66b7b773bb Merge pull request #147 from flut2/master
Log command name when loading fails
2024-07-06 20:57:56 +02:00
flut2
982178e027 Merge branch 'Snektron:master' into master 2024-07-06 20:35:38 +02:00
Robin Voetter
51c5566f92 Merge pull request #146 from poconn/alloc_wrappers
Array function wrappers
2024-07-01 00:00:16 +02:00
Patrick O'Connell
a2167a79d5 Author suffix last for alloc functions 2024-06-30 13:37:51 -07:00
Patrick O'Connell
b3eb45d6a4 Add more "enumerate" functions to list 2024-06-30 13:18:05 -07:00
Patrick O'Connell
4707aca68d Use *Alloc() functions in example 2024-06-29 17:13:06 -07:00
Patrick O'Connell
7a6986faba Proxy wrappers for slice functions 2024-06-29 16:53:30 -07:00
Patrick O'Connell
a2b49336d1 Add *Alloc() wrappers 2024-06-29 15:47:55 -07:00
flut2
062357916c log command name when loading fails 2024-06-24 20:08:20 +02:00
Patrick O'Connell
e9199a0abc Extract some helper functions 2024-06-23 10:22:24 -07:00
Robin Voetter
ff4cff5f64 Merge pull request #144 from Squamto/master
update to 0.14.0-dev.91+a154d8da8
2024-06-20 23:28:54 +02:00
Squamto
3c8f827322 update to 0.14.0-dev.91+a154d8da8 2024-06-20 21:01:31 +02:00
Robin Voetter
f637a0d252 Merge pull request #143 from flut2/master
Update to 0.14.0-dev.43+96501d338
2024-06-17 21:17:17 +02:00
flut2
c79bbd86e8 update to 0.14.0-dev.43+96501d338 2024-06-17 18:53:57 +02:00
Robin Voetter
f537d09955 ci: switch to mlugg/setup-zig 2024-06-12 21:16:52 +02:00
Robin Voetter
a44d86899b Merge pull request #142 from vali-pnt/master
Update to zig 0.13.0
2024-06-11 07:49:11 +02:00
vali-pnt
4321b8bff9 update to zig 0.13.0 2024-06-11 02:48:42 +03:00
Robin Voetter
f2c2e0ff80 Merge pull request #141 from slimsag/master
always provide default opaque{} external type implementations
2024-06-02 23:25:51 +02:00
Stephen Gutekanst
cfaf58a4de always provide default opaque{} external type implementations
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-06-02 12:20:00 -07:00
Robin Voetter
ac5ad34a95 update to latest zig: update to new progress api 2024-06-01 11:58:42 +02:00
Robin Voetter
8bd83cad43 Merge pull request #140 from antlilja/fix-build
Fix broken build
2024-05-16 19:22:02 +02:00
antlilja
794239076b Use cwd_relative for override registry 2024-05-16 18:04:23 +02:00
Robin Voetter
35f69b4ea6 Merge pull request #139 from antlilja/update-build
Update to zig master
2024-05-16 14:00:52 +02:00
antlilja
949de7684e Update to zig master 2024-05-16 13:59:45 +02:00
Robin Voetter
aa3808940e update to zig master 2024-05-08 00:05:34 +02:00
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