summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2008-02-28 10:04:54 +0000
committerOliver McFadden <[email protected]>2008-03-01 06:33:07 +0000
commita6d772ed16eddda85bae59e28eaab0d46debc30f (patch)
tree80a51787257a2e87e2620f1993a5e6b307fe1f8c
parentf80223d9ffac6c2c3a94ab7f896dad6a04da5c8b (diff)
r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode.
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 563b02b7a5c..9c733597aff 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -727,7 +727,7 @@ static GLuint *t_opcode_mul(struct r300_vertex_program *vp,
struct prog_src_register src[3])
{
inst[0] =
- PVS_VECTOR_OPCODE(VE_MULTIPLY_ADD, t_dst_index(vp, &vpi->DstReg),
+ PVS_VECTOR_OPCODE(VE_MULTIPLY, t_dst_index(vp, &vpi->DstReg),
t_dst_mask(vpi->DstReg.WriteMask),
t_dst_class(vpi->DstReg.File));
inst[1] = t_src(vp, &src[0]);