From: Brian Date: Sat, 29 Sep 2007 02:31:24 +0000 (-0600) Subject: fix bug causing unnecessary translations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae7f200788947cdde15b279ea3a4558f6abd9922;p=mesa.git fix bug causing unnecessary translations --- diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index d7a89d1e95e..0a905fb563b 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -183,7 +183,7 @@ find_translated_vp(struct st_context *st, * XXX This could be a hash lookup, using InputsRead as the key. */ for (xvp = stfp->vertex_programs; xvp; xvp = xvp->next) { - if (xvp->frag_inputs == stfp->Base.Base.InputsRead) { + if (xvp->frag_inputs == fragInputsRead) { break; } }