Moving GL backend to new shader translator.
This seems to make a lot of things better, but may also break things. Cleanup to follow.
This commit is contained in:
@@ -96,7 +96,11 @@ void DisassembleSourceOperand(const InstructionOperand& op, StringBuffer* out) {
|
||||
}
|
||||
switch (op.storage_addressing_mode) {
|
||||
case InstructionStorageAddressingMode::kStatic:
|
||||
out->AppendFormat("%d", op.storage_index);
|
||||
if (op.is_absolute_value) {
|
||||
out->AppendFormat("[%d]", op.storage_index);
|
||||
} else {
|
||||
out->AppendFormat("%d", op.storage_index);
|
||||
}
|
||||
break;
|
||||
case InstructionStorageAddressingMode::kAddressAbsolute:
|
||||
out->AppendFormat("[%d+a0]", op.storage_index);
|
||||
|
||||
Reference in New Issue
Block a user