diff --git a/SPIRV/doc.cpp b/SPIRV/doc.cpp index 05bc5a2d..3da77bf7 100644 --- a/SPIRV/doc.cpp +++ b/SPIRV/doc.cpp @@ -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'");