SPIRV: Token layout of OpAtomicXXX instructions is incorrect #70

This commit is contained in:
Rex Xu 2015-09-06 16:30:11 +08:00
parent 0c81156c2d
commit d4782c10d4
2 changed files with 13 additions and 4 deletions

View file

@ -386,8 +386,6 @@ void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode,
OperandClass operandClass = InstructionDesc[opCode].operands.getClass(op);
switch (operandClass) {
case OperandId:
case OperandScope:
case OperandMemorySemantics:
disassembleIds(1);
// Get names for printing "(XXX)" for readability, *after* this id
if (opCode == OpName)