Change-Id: Ia204b708239ae51022f163053e4d054e617695b9
Reviewed-on: https://swiftshader-review.googlesource.com/5031
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
\r
TIntermBinary *binary = dst->getAsBinaryNode();\r
\r
- if(binary && binary->getOp() == EOpIndexIndirect && dst->isScalar())\r
+ if(binary && binary->getOp() == EOpIndexIndirect && binary->getLeft()->isVector() && dst->isScalar())\r
{\r
Instruction *insert = new Instruction(sw::Shader::OPCODE_INSERT);\r
\r