spirv: ptr_elem_val

Implements the ptr_elem_val air tag. Implementation is unified
with ptr_elem_ptr.
This commit is contained in:
Robin Voetter
2023-05-19 14:17:58 +02:00
parent 77b8bf2b82
commit 65157d30ab
21 changed files with 36 additions and 41 deletions

View File

@@ -22,7 +22,6 @@ test "error values" {
}
test "redefinition of error values allowed" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
shouldBeNotEqual(error.AnError, error.SecondError);
}
fn shouldBeNotEqual(a: anyerror, b: anyerror) void {