yes
Build / build (push) Successful in 1m40s
Test / build (push) Successful in 8m22s

This commit is contained in:
2026-04-26 03:58:59 +02:00
parent f617fe417c
commit 5b7380eea0
+8 -2
View File
@@ -189,8 +189,14 @@ fn applyDecorations(self: *Self) ModuleError!void {
} }
}, },
.Output => { .Output => {
if (decoration.rtype == .Location) switch (decoration.rtype) {
self.output_locations[decoration.literal_1] = @intCast(id); .BuiltIn => self.builtins.put(
std.enums.fromInt(spv.SpvBuiltIn, decoration.literal_1) orelse return ModuleError.InvalidSpirV,
@intCast(id),
),
.Location => self.output_locations[decoration.literal_1] = @intCast(id),
else => {},
}
}, },
.StorageBuffer, .Uniform, .UniformConstant => { .StorageBuffer, .Uniform, .UniformConstant => {
switch (decoration.rtype) { switch (decoration.rtype) {