additional comments for BranchTarget
authorBrian <brian@yutani.localnet.net>
Tue, 6 Feb 2007 01:04:35 +0000 (18:04 -0700)
committerBrian <brian@yutani.localnet.net>
Tue, 6 Feb 2007 01:04:35 +0000 (18:04 -0700)
src/mesa/shader/prog_instruction.h

index 100aac4b97f6e4cb16a3fd84ce083570e97e0a6c..a9156bcad598468899863b91b4089823d2dc4439 100644 (file)
@@ -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;