summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMarkus Amsler <[email protected]>2008-03-30 16:12:47 +0000
committerOliver McFadden <[email protected]>2008-03-30 16:12:47 +0000
commitd9367842e54a234ee00ea100de45480527de5693 (patch)
treecdedc043b4c772eb9668881e8af36a3739b41121 /src/mesa/drivers
parent85e816882d8cd136e041c915698314ed1110e2f2 (diff)
r300: Copy-and-paste error from the vertex program branch.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 89ccca7dae0..e91d96852db 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -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]);