SPV: Fix #1258: cache constant structs by id, not opcode.
Constants were generally cached by type opcode, but all structures share the same type opcode (OpTypeStruct), so they need to be cached by type id.
This commit is contained in:
parent
57f6a016f0
commit
46413d5780
5 changed files with 120 additions and 17 deletions
|
|
@ -235,6 +235,7 @@ INSTANTIATE_TEST_CASE_P(
|
|||
"spv.branch-return.vert",
|
||||
"spv.builtInXFB.vert",
|
||||
"spv.conditionalDiscard.frag",
|
||||
"spv.constStruct.vert",
|
||||
"spv.controlFlowAttributes.frag",
|
||||
"spv.conversion.frag",
|
||||
"spv.dataOut.frag",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue