Skip to content

Commit bac5e1f

Browse files
spirv: fix non-conforming formatting
1 parent 6dd9d83 commit bac5e1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/codegen/spirv/Assembler.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const AsmValue = union(enum) {
160160
return switch (self) {
161161
.just_declared,
162162
.unresolved_forward_reference,
163-
.constant
163+
.constant,
164164
=> unreachable, // TODO: Create constant integer instruction
165165
.string => |str| {
166166
return try spv.constStringGlobal(str);

test/behavior/asm.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ test "SPIR-V string constants with c constraint" {
199199
_ = std.gpu.printf("testing printf\n", .{});
200200
var a: i32 = -10;
201201
_ = &a;
202-
_ = std.gpu.printf("a: %d, a + 10: %d\n", .{a, a + 10});
202+
_ = std.gpu.printf("a: %d, a + 10: %d\n", .{ a, a + 10 });
203203
}

0 commit comments

Comments
 (0)