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

@@ -1119,6 +1119,8 @@ test "@shlWithOverflow" {
}
test "overflow arithmetic with u0 values" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
{
var a: u0 = 0;
const ov = @addWithOverflow(a, 0);
@@ -1287,8 +1289,6 @@ fn testShrExact(x: u8) !void {
}
test "shift left/right on u0 operand" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
fn doTheTest() !void {
var x: u0 = 0;
@@ -1565,7 +1565,6 @@ test "vector comparison" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
fn doTheTest() !void {