summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_reg.h
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2008-03-02 06:28:53 +0000
committerOliver McFadden <[email protected]>2008-03-02 06:35:44 +0000
commite239871d5b28c05eceae91a748d36ea3ff4e5f18 (patch)
tree1428b90aafb81ab68b6ab9e0699ddabe11ed3766 /src/mesa/drivers/dri/r300/r300_reg.h
parentc30cc5904dc61c27ea7a4ebf5928c53bca6a7b1d (diff)
r300: Corrected a bug with the MAD instruction.
The PVS_VECTOR_OPCODE macro should be modified to support macro instructions, too.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_reg.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index b059c1671dc..0614c8b2e06 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -2480,6 +2480,12 @@ enum {
};
enum {
+ /* R3XX */
+ PVS_MACRO_OP_2CLK_MADD = 0,
+ PVS_MACRO_OP_2CLK_M2X_ADD = 1,
+};
+
+enum {
PVS_SRC_REG_TEMPORARY = 0, /* Intermediate Storage */
PVS_SRC_REG_INPUT = 1, /* Input Vertex Storage */
PVS_SRC_REG_CONSTANT = 2, /* Constant State Storage */