summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-06-07 10:56:17 +0000
committerKeith Whitwell <[email protected]>2005-06-07 10:56:17 +0000
commit17d249d31b3b382af04610b2ca37d01b8f06abe4 (patch)
tree29b61249e5d6b32145c8b7e29f838563a7d02509 /src
parent4f923fb0bcb60b908170219b078d9f5d8513d719 (diff)
Add a VP_MAX_OPCODE entry to allow engines with internal opcodes to
place them sensibly.
Diffstat (limited to 'src')
-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 ca9930a9749..17646e3600b 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
};