improving derivatives support, adding matrix stride management, adding matrix times scalar
Build / build (push) Successful in 41s
Test / build (push) Successful in 1m12s

This commit is contained in:
2026-06-11 22:50:57 +02:00
parent 75099f7e1d
commit 089a33981c
5 changed files with 464 additions and 43 deletions
+4
View File
@@ -68,6 +68,8 @@ pub const Function = struct {
source_location: usize,
result: *Result,
ret: *Result,
current_label: ?SpvWord,
previous_label: ?SpvWord,
};
pub fn Vec4(comptime T: type) type {
@@ -335,6 +337,8 @@ pub fn beginEntryPoint(self: *Self, allocator: std.mem.Allocator, entry_point_in
.source_location = f.source_location,
.result = entry_point_result,
.ret = &self.results[f.return_type],
.current_label = null,
.previous_label = null,
}) catch return RuntimeError.OutOfMemory;
},
else => return RuntimeError.InvalidEntryPoint,