summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvfragprog.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-03-29 16:01:18 +0000
committerKeith Whitwell <[email protected]>2004-03-29 16:01:18 +0000
commiteeb5eeb2a62627d2a547f6739105c1418caf6d9d (patch)
treee64305a3ea183aefd422cdfe3c07999afe6a417c /src/mesa/shader/nvfragprog.h
parent292fa335d68ba82184e46b2dce87091f85e29e46 (diff)
Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.
Diffstat (limited to 'src/mesa/shader/nvfragprog.h')
-rw-r--r--src/mesa/shader/nvfragprog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/nvfragprog.h b/src/mesa/shader/nvfragprog.h
index fa817d4b9cc..e83827d1a16 100644
--- a/src/mesa/shader/nvfragprog.h
+++ b/src/mesa/shader/nvfragprog.h
@@ -112,7 +112,8 @@ enum fp_opcode {
FP_OPCODE_UP2US, /* NV_f_p only */
FP_OPCODE_UP4B, /* NV_f_p only */
FP_OPCODE_UP4UB, /* NV_f_p only */
- FP_OPCODE_X2D, /* XPD in ARB_f_p */
+ FP_OPCODE_X2D, /* NV_f_p only - 2d mat mul */
+ FP_OPCODE_XPD, /* ARB_f_p only - cross product */
FP_OPCODE_END /* private opcode */
};