r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode.
authorOliver McFadden <z3ro.geek@gmail.com>
Thu, 28 Feb 2008 10:04:54 +0000 (10:04 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sat, 1 Mar 2008 06:33:07 +0000 (06:33 +0000)
src/mesa/drivers/dri/r300/r300_vertprog.c

index 563b02b..9c73359 100644 (file)
@@ -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]);