chenged append to append_elem for spirv ir

This commit is contained in:
Matthias Huerbe committed 2026-09-30 20:20:54 +02:00
1 parent 98ad032baa
commit 2c0883b4e8
2 files changed
+874 -874

No files matched your search

File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -430,7 +430,7 @@ gen_one_builder :: proc(sb: ^strings.Builder, opname, verb: string, has_rt, has_
fmt.sbprintf(sb, "\n%s :: proc(%s)%s {{\n", verb, join(hl[:]), has_r ? " -> Id" : "")
if has_r { strings.write_string(sb, "\tr := alloc_id(b)\n") }
fmt.sbprintf(sb, "\tappend(&b.ops, inst_%s(%s))\n", opname, join(call[:]))
fmt.sbprintf(sb, "\tappend_elem(&b.ops, inst_%s(%s))\n", opname, join(call[:]))
if has_r { strings.write_string(sb, "\treturn r\n") }
strings.write_string(sb, "}\n")
}