adding negate opcodes
All checks were successful
Build / build (push) Successful in 1m50s
Test / build (push) Successful in 5m26s

This commit is contained in:
2026-02-24 04:47:38 +01:00
parent 35686c3012
commit 2409ec7269
4 changed files with 78 additions and 9 deletions

View File

@@ -26,6 +26,8 @@ pub fn main() !void {
var ssbo: SSBO = .{};
try rt.writeDescriptorSet(allocator, std.mem.asBytes(&ssbo), 0, 0);
for (0..16) |i| {
for (0..16) |x| {
for (0..16) |y| {
@@ -36,7 +38,6 @@ pub fn main() !void {
};
try rt.writeBuiltIn(std.mem.asBytes(&global_invocation_indices), .GlobalInvocationId);
try rt.writeDescriptorSet(allocator, std.mem.asBytes(&ssbo), 0, 0);
rt.callEntryPoint(allocator, entry) catch |err| switch (err) {
spv.Runtime.RuntimeError.OutOfBounds => continue,
else => return err,