projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5eea0c
)
special case END in _mesa_print_instruction()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 28 Oct 2006 23:08:07 +0000
(23:08 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 28 Oct 2006 23:08:07 +0000
(23:08 +0000)
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index ceceef0c5dfbc82058b492f60bd3e1d55a6e91a4..8ac38ae119979f6394aca9ad16881547bac4e6ec 100644
(file)
--- a/
src/mesa/shader/program.c
+++ b/
src/mesa/shader/program.c
@@
-1691,6
+1691,9
@@
_mesa_print_instruction(const struct prog_instruction *inst)
print_src_reg(&inst->SrcReg[0]);
_mesa_printf(";\n");
break;
+ case OPCODE_END:
+ _mesa_printf("END;\n");
+ break;
/* XXX may need for other special-case instructions */
default:
/* typical alu instruction */