i965/miptree: Return NONE from texture_aux_usage when fully resolved
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Aug 2017 22:27:25 +0000 (15:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 19 Aug 2017 00:31:02 +0000 (17:31 -0700)
commit61d2f3f1c24323a1c067595ec78dfbfefdc72b41
tree064119de711f02f4e2c77c7d0d1f7693c4f6aa22
parentd5e217dbfda2a87e149bdc8586c25143fc0ac183
i965/miptree: Return NONE from texture_aux_usage when fully resolved

This little optimization improves the performance of SynMark v7
TexFilterTri by almost 10% on Sky Lake GT4 among other improvements.
We've been doing it for some time but somehow it got dropped during
the miptree refactoring.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/102258
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c