Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal

This commit is contained in:
Sidney Just 2021-03-19 13:26:53 -07:00
parent 979319b9b1
commit 7662557d2a

View File

@ -2719,7 +2719,7 @@ void Parameterize()
InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(OperandScope, "'Execution'");
InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(OperandId, "X");
InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(OperandLiteralNumber, "'Direction'");
InstructionDesc[OpGroupNonUniformQuadSwap].operands.push(OperandId, "'Direction'");
InstructionDesc[OpSubgroupBallotKHR].operands.push(OperandId, "'Predicate'");