This should also get tagged for stable... probably 10.1 and 10.2. On 05/28/2014 11:37 AM, Eric Anholt wrote: > It doesn't matter, because the instructions were initialized to noop > swizzles anyway. > --- > src/mesa/program/programopt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/program/programopt.c b/src/mesa/program/programopt.c > index 92a8831..ee822be 100644 > --- a/src/mesa/program/programopt.c > +++ b/src/mesa/program/programopt.c > @@ -183,7 +183,7 @@ _mesa_insert_mvp_mad_code(struct gl_context *ctx, struct > gl_vertex_program *vpro > newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; > newInst[i].SrcReg[2].File = PROGRAM_TEMPORARY; > newInst[i].SrcReg[2].Index = hposTemp; > - newInst[1].SrcReg[2].Swizzle = SWIZZLE_NOOP; > + newInst[i].SrcReg[2].Swizzle = SWIZZLE_NOOP; > } > > newInst[3].Opcode = OPCODE_MAD; >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev