From: Oliver McFadden Date: Thu, 28 Feb 2008 10:04:54 +0000 (+0000) Subject: r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6d772ed16eddda85bae59e28eaab0d46debc30f;p=mesa.git r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode. --- 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]);