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

@@ -121,8 +121,6 @@ test "struct byval assign" {
}
test "call struct static method" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const result = StructWithNoFields.add(3, 4);
try expect(result == 7);
}