summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2008-03-26 06:24:48 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2008-03-26 06:24:48 +0000
commit2ac29115542d81366a7d78571cc568976baf0251 (patch)
tree9d0d91ef2f901dcbb6e4042159892f91f793652f /src/mesa/drivers/dri/r300/r300_state.c
parent74aee365e32defc910fd43301b6fcb651ad0568a (diff)
r300: Renamed the destination-and-opcode/source macros to more appropriate names.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_state.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 062b229275..f39245b247 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1660,28 +1660,28 @@ static void r300SetupDefaultVertexProgram(r300ContextPtr rmesa)
for (i = VERT_ATTRIB_POS; i < VERT_ATTRIB_MAX; i++) {
if (rmesa->state.sw_tcl_inputs[i] != -1) {
prog->program.body.i[program_end + 0] =
- PVS_OPCODE(VE_MULTIPLY,
+ PVS_OP_DST_OPERAND(VE_MULTIPLY,
GL_FALSE,
GL_FALSE,
o_reg++,
VSF_FLAG_ALL,
PVS_DST_REG_OUT);
prog->program.body.i[program_end + 1] =
- PVS_SOURCE_OPCODE(rmesa->state.sw_tcl_inputs[i],
+ PVS_SRC_OPERAND(rmesa->state.sw_tcl_inputs[i],
PVS_SRC_SELECT_X,
PVS_SRC_SELECT_Y,
PVS_SRC_SELECT_Z,
PVS_SRC_SELECT_W,
PVS_SRC_REG_INPUT, VSF_FLAG_NONE);
prog->program.body.i[program_end + 2] =
- PVS_SOURCE_OPCODE(rmesa->state.sw_tcl_inputs[i],
+ PVS_SRC_OPERAND(rmesa->state.sw_tcl_inputs[i],
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_REG_INPUT, VSF_FLAG_NONE);
prog->program.body.i[program_end + 3] =
- PVS_SOURCE_OPCODE(rmesa->state.sw_tcl_inputs[i],
+ PVS_SRC_OPERAND(rmesa->state.sw_tcl_inputs[i],
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_SELECT_FORCE_1,
PVS_SRC_SELECT_FORCE_1,