Merge pull request #2582 from JustSid/master

Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal
This commit is contained in:
greg-lunarg 2021-03-22 11:44:52 -06:00 committed by GitHub
commit 6848167e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'");