summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-05 18:04:35 -0700
committerBrian <brian@yutani.localnet.net>2007-02-05 18:04:35 -0700
commitd434019633ccc537f07ec4e7d409bc93134367c8 (patch)
tree94b5fd2ffe75b9e650a585eda6516868d2d79bbf /src/mesa
parent2755c798f3cb89fcd4ece16cd740af1cd86a6b99 (diff)
additional comments for BranchTarget
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/prog_instruction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index 100aac4b97..a9156bcad5 100644
--- 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;