r300: Copy-and-paste error from the vertex program branch.

This commit is contained in:
Markus Amsler
2008-03-30 16:12:47 +00:00
committed by Oliver McFadden
parent 85e816882d
commit d9367842e5
+2 -1
View 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]);