authorgravatar for subocashell@gmail.comSubo2002 <subocashell@gmail.com> 2026-08-24 23:28:31+01:00
committergravatar for subocashell@gmail.comSubo2002 <subocashell@gmail.com> 2026-08-24 23:28:31+01:00
log25890f9080337a0e5968d92369ea221127611ca4
tree9f7cfca5b3d24beca835a845d3b3d6fe9c3b70fd
parent4ddb82ec2cdc9e68fdc6b938cb0c95d7a7342bb1

callconv_spirv_on_unsupported_platform test was missing initiailization

for the new x, y, z fields and so failing the wrong way

1 files changed, 1 insertions(+), 1 deletions(-)

test/cases/compile_errors/callconv_spirv_on_unsupported_platform.zig+1-1
......@@ -1,7 +1,7 @@
11const F1 = fn () callconv(.{ .spirv_fragment = .{} }) void;
22const F2 = fn () callconv(.spirv_vertex) void;
33const F3 = fn () callconv(.{ .spirv_task = .{ .x = 1, .y = 1, .z = 1 } }) void;
4const F4 = fn () callconv(.{ .spirv_mesh = .{} }) void;
4const F4 = fn () callconv(.{ .spirv_mesh = .{ .x = 1, .y = 1, .z = 1 } }) void;
55export fn entry1() void {
66 const a: F1 = undefined;
77 _ = a;