adding opcodes and results

This commit is contained in:
2025-12-27 00:46:40 +01:00
parent 49f0219900
commit 3283ed42a8
7 changed files with 336 additions and 62 deletions

View File

@@ -13,7 +13,7 @@ pub fn main() !void {
var module = try spv.Module.init(allocator, @ptrCast(@alignCast(shader_source)));
defer module.deinit(allocator);
var rt = try spv.Runtime.init(&module);
var rt = spv.Runtime.init(&module);
defer rt.deinit();
try rt.callEntryPoint(0);