https://bugs.freedesktop.org/show_bug.cgi?id=28800
Álmos aaalmosss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41170|0 |1 is obsolete| |
--- Comment #22 from Álmos aaalmosss@gmail.com 2010-12-16 15:18:11 PST --- Created an attachment (id=41192) View: https://bugs.freedesktop.org/attachment.cgi?id=41192 Review: https://bugs.freedesktop.org/review?bug=28800&attachment=41192
r300g_multitexturing_v2.diff
Yes, your calculations are OK. The problem is the if (&state->sampler_views[i]->base != views[i]) {} part, which leaves some samplers untouched, and their cache regions get reused sometimes.
My attached patch is IMHO significantly better than the previous one. It completely fixes texturing in etqw, but there are occasional glitches in ut2004 and the water in googleearth is still bad. See the TODO and XXX comments in the patch for more explanation.