summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-28 20:31:24 -0600
committerBrian <[email protected]>2007-09-28 20:31:24 -0600
commitae7f200788947cdde15b279ea3a4558f6abd9922 (patch)
tree6e0fea8bec02728d7321065da9812b9bc6533c48 /src/mesa/state_tracker
parentbbcbd362a94386f2a19570dc09ec74c9ef4db067 (diff)
fix bug causing unnecessary translations
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_shader.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}