Unverified Commit b848fd6a by Greg Fischer Committed by GitHub

Merge pull request #2665 from JustSid/master

Fix SPIR-V remapper not remapping OpExtInst instruction set IDs
parents fe151586 f1121f02
...@@ -544,6 +544,9 @@ namespace spv { ...@@ -544,6 +544,9 @@ namespace spv {
// Extended instructions: currently, assume everything is an ID. // Extended instructions: currently, assume everything is an ID.
// TODO: add whatever data we need for exceptions to that // TODO: add whatever data we need for exceptions to that
if (opCode == spv::OpExtInst) { if (opCode == spv::OpExtInst) {
idFn(asId(word)); // Instruction set is an ID that also needs to be mapped
word += 2; // instruction set, and instruction from set word += 2; // instruction set, and instruction from set
numOperands -= 2; numOperands -= 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment