projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2755c79
)
additional comments for BranchTarget
author
Brian
<brian@yutani.localnet.net>
Tue, 6 Feb 2007 01:04:35 +0000
(18:04 -0700)
committer
Brian
<brian@yutani.localnet.net>
Tue, 6 Feb 2007 01:04:35 +0000
(18:04 -0700)
src/mesa/shader/prog_instruction.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_instruction.h
b/src/mesa/shader/prog_instruction.h
index 100aac4b97f6e4cb16a3fd84ce083570e97e0a6c..a9156bcad598468899863b91b4089823d2dc4439 100644
(file)
--- a/
src/mesa/shader/prog_instruction.h
+++ b/
src/mesa/shader/prog_instruction.h
@@
-400,6
+400,10
@@
struct prog_instruction
/**
* For BRA and CAL instructions, the location to jump to.
+ * For BGNLOOP, points to ENDLOOP (and vice-versa).
+ * For BRK, points to BGNLOOP (which points to ENDLOOP).
+ * For IF, points to else or endif.
+ * For ELSE, points to endif.
*/
GLuint BranchTarget;