mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
special case RET
This commit is contained in:
parent
c042a91b8b
commit
037c068460
1 changed files with 7 additions and 0 deletions
|
|
@ -571,6 +571,13 @@ _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
|
|||
_mesa_printf("CAL %u", inst->BranchTarget);
|
||||
print_comment(inst);
|
||||
break;
|
||||
case OPCODE_RET:
|
||||
_mesa_printf("RET (%s%s); # (goto %d)",
|
||||
condcode_string(inst->DstReg.CondMask),
|
||||
_mesa_swizzle_string(inst->DstReg.CondSwizzle, 0, GL_FALSE),
|
||||
inst->BranchTarget);
|
||||
print_comment(inst);
|
||||
break;
|
||||
case OPCODE_IF:
|
||||
if (inst->SrcReg[0].File != PROGRAM_UNDEFINED) {
|
||||
/* Use ordinary register */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue