OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c042a91
)
special case RET
author
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 22:58:50 +0000
(16:58 -0600)
committer
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 22:58:50 +0000
(16:58 -0600)
src/mesa/shader/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_print.c
b/src/mesa/shader/prog_print.c
index
3f7ad47
..
3ab0041
100644
(file)
--- a/
src/mesa/shader/prog_print.c
+++ b/
src/mesa/shader/prog_print.c
@@
-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 */