https://bugs.freedesktop.org/show_bug.cgi?id=28800
--- Comment #24 from Marek Olšák maraeo@gmail.com 2010-12-17 00:11:49 PST --- Created an attachment (id=41199) View: https://bugs.freedesktop.org/attachment.cgi?id=41199 Review: https://bugs.freedesktop.org/review?bug=28800&attachment=41199
possible fix
(In reply to comment #22)
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.
Well spotted! Could you guys please test this patch? I've just removed the conditional.