Add a VP_MAX_OPCODE entry to allow engines with internal opcodes to
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Jun 2005 10:56:17 +0000 (10:56 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Jun 2005 10:56:17 +0000 (10:56 +0000)
place them sensibly.

src/mesa/shader/nvvertprog.h

index ca9930a9749ab4d15631d57ba0d6ffb83452d5fa..17646e3600bf62c483f6faa961a0116bbd4a0548 100644 (file)
@@ -66,7 +66,9 @@ enum vp_opcode
    VP_OPCODE_SLT,
    VP_OPCODE_SUB,
    VP_OPCODE_SWZ,              /* ARB only */
-   VP_OPCODE_XPD               /* ARB only */
+   VP_OPCODE_XPD,              /* ARB only */
+
+   VP_MAX_OPCODE
 };