Simple Vulkan library for running compute shaders on the GPU
You will need:
-
Zig compiler (0.15.2)
-
Vulkan SDK
-
slangc (Slang shader compiler)
Fetch:
zig fetch --save git+https://github.com/Pivok7/zcomputeInside build.zig:
const zcompute_dep = b.dependency("zcompute", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("zcompute", zcompute_dep.module("zcompute"));For examples check out the 'examples' folder
- vulkan-zig: https://github.com/Snektron/vulkan-zig.git
Licensed under the MIT License.