spirv: update failing / passing tests

Some tests are now failing due to debug info changes, some tests
now pass due to improved compiler functionality.
This commit is contained in:
Robin Voetter
2023-09-23 01:30:16 +02:00
parent 0552e504d0
commit faad97edff
87 changed files with 48 additions and 279 deletions

View File

@@ -426,8 +426,6 @@ test "mutate entire slice at comptime" {
}
test "dereference undefined pointer to zero-bit type" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const p0: *void = undefined;
try testing.expectEqual({}, p0.*);
@@ -436,8 +434,6 @@ test "dereference undefined pointer to zero-bit type" {
}
test "type pun extern struct" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = extern struct { f: u8 };
comptime var s = S{ .f = 123 };
@as(*u8, @ptrCast(&s)).* = 72;