spirv: self-referential pointers via new fwd_ptr_type

Its a little ugly but it works.
This commit is contained in:
Robin Voetter
2023-10-21 17:26:59 +02:00
parent 6e955af8c8
commit 6281ad91df
20 changed files with 226 additions and 174 deletions

View File

@@ -193,7 +193,6 @@ test "nested orelse" {
test "self-referential struct through a slice of optional" {
if (builtin.zig_backend == .stage2_arm) 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 {
const Node = struct {