SPV: For AST interpolateAt* ops consuming a swizzle, invert the order.
Apply the interpolation first, then apply the swizzle to the result, the inverse of the order requested by the AST. This fixes issue #411.
This commit is contained in:
parent
731cd83ef6
commit
8c8505c604
5 changed files with 184 additions and 29 deletions
|
|
@ -184,6 +184,7 @@ INSTANTIATE_TEST_CASE_P(
|
|||
"spv.structure.frag",
|
||||
"spv.switch.frag",
|
||||
"spv.swizzle.frag",
|
||||
"spv.swizzleInversion.frag",
|
||||
"spv.test.frag",
|
||||
"spv.test.vert",
|
||||
"spv.texture.frag",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue