r300: Copy-and-paste error from the vertex program branch.
authorMarkus Amsler <markus.amsler@oribi.org>
Sun, 30 Mar 2008 16:12:47 +0000 (16:12 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sun, 30 Mar 2008 16:12:47 +0000 (16:12 +0000)
src/mesa/drivers/dri/r300/r300_vertprog.c

index 89ccca7dae09d332bf54cbd1d29e0d87dfa880ea..e91d96852db1372dc1aac23edaf5c025585747d7 100644 (file)
@@ -842,9 +842,10 @@ static GLuint *r300TranslateOpcodeSUB(struct r300_vertex_program *vp,
        inst[3] = 0;
 #else
        inst[0] =
-           PVS_OP_DST_OPERAND(VE_MULTIPLY_ADD, t_dst_index(vp, &vpi->DstReg),
+           PVS_OP_DST_OPERAND(VE_MULTIPLY_ADD,
                               GL_FALSE,
                               GL_FALSE,
+                              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]);