Fix issues from review comments and those relevant to texelFetch

This commit is contained in:
Rex Xu 2015-09-16 11:44:02 +08:00
parent 30f9258d5e
commit 04db3f5aa4
4 changed files with 45 additions and 26 deletions

View file

@ -386,6 +386,8 @@ 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)