aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-04-10 18:34:30 +0200
committerRobin Voetter <robin@voetter.nl>2023-05-11 20:31:50 +0200
commitdfecf89d06dc2caad41ff54b05240506ea2c47e8 (patch)
tree46cb08a073d4e346188fc2c323d7b3dede446144 /test/behavior/basic.zig
parent5d896a6cc6b7127dd4db0bd386ebe33da82d7824 (diff)
downloadzig-dfecf89d06dc2caad41ff54b05240506ea2c47e8.tar.gz
zig-dfecf89d06dc2caad41ff54b05240506ea2c47e8.zip
spirv: fix OpFunctionCall parameters interleaving with insts
resolve() is now able to emit instructions. If usage of this function is interleaved with calls to emitRaw() and writeOperand(), then an instruction may get inserted between operands, causing an invalid module. The solution here is to just perform a temporary allocation.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions