Mesa (master): mesa: updated instruction comments

Brian Paul brianp at kemper.freedesktop.org
Sat Jul 3 00:25:01 UTC 2010


Module: Mesa
Branch: master
Commit: 7cc58c1992ca7f8af13801ea430452e590755e32
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cc58c1992ca7f8af13801ea430452e590755e32

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jul  2 12:22:33 2010 -0600

mesa: updated instruction comments

---

 src/mesa/program/prog_instruction.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/mesa/program/prog_instruction.h b/src/mesa/program/prog_instruction.h
index 5cdc321..bc980c6 100644
--- a/src/mesa/program/prog_instruction.h
+++ b/src/mesa/program/prog_instruction.h
@@ -139,8 +139,7 @@
 
 
 /**
- * Program instruction opcodes, for both vertex and fragment programs.
- * \note changes to this opcode list must be reflected in t_vb_arbprogram.c
+ * Program instruction opcodes for vertex, fragment and geometry programs.
  */
 typedef enum prog_opcode {
                      /* ARB_vp   ARB_fp   NV_vp   NV_fp     GLSL */
@@ -170,9 +169,9 @@ typedef enum prog_opcode {
    OPCODE_DPH,       /*   X        X       1.1                   */
    OPCODE_DST,       /*   X        X       X       X             */
    OPCODE_ELSE,      /*                                      X   */
-   OPCODE_EMIT_VERTEX,  /*                                      X   */
+   OPCODE_EMIT_VERTEX,/*                                     X   */
    OPCODE_END,       /*   X        X       X       X        opt  */
-   OPCODE_END_PRIMITIVE,/*                                      X   */
+   OPCODE_END_PRIMITIVE,/*                                   X   */
    OPCODE_ENDIF,     /*                                     opt  */
    OPCODE_ENDLOOP,   /*                                     opt  */
    OPCODE_ENDSUB,    /*                                     opt  */




More information about the mesa-commit mailing list