summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-06-07 10:56:17 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-06-07 10:56:17 +0000
commit17d249d31b3b382af04610b2ca37d01b8f06abe4 (patch)
tree29b61249e5d6b32145c8b7e29f838563a7d02509
parent4f923fb0bcb60b908170219b078d9f5d8513d719 (diff)
Add a VP_MAX_OPCODE entry to allow engines with internal opcodes to
place them sensibly.
-rw-r--r--src/mesa/shader/nvvertprog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/shader/nvvertprog.h b/src/mesa/shader/nvvertprog.h
index ca9930a974..17646e3600 100644
--- a/src/mesa/shader/nvvertprog.h
+++ b/src/mesa/shader/nvvertprog.h
@@ -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
};