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:
John Kessenich
2016-07-26 12:50:38 -06:00
parent 731cd83ef6
commit 8c8505c604
5 changed files with 184 additions and 29 deletions

View File

@@ -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",