Module: Mesa
Branch: glsl2
Commit: f632a330eccb26c28a3b94216c55994e94988751
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f632a330eccb26c28a3b94216c55994e94988751

Author: Eric Anholt <[email protected]>
Date:   Wed Jul  7 21:00:32 2010 -0700

mesa: Fix documentation of BranchTarget for BRK.

It was changed in 2009 and the comment wasn't updated.

---

 src/mesa/shader/prog_instruction.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/shader/prog_instruction.h 
b/src/mesa/shader/prog_instruction.h
index 28c797a..c1e3a1e 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -384,7 +384,7 @@ 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 BRK, points to ENDLOOP
     * For IF, points to ELSE or ENDIF.
     * For ELSE, points to ENDIF.
     */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to