i965: Only resolve texture levels/layers that are accessed.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 16 Oct 2017 19:28:17 +0000 (12:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Oct 2017 18:10:00 +0000 (11:10 -0700)
commite208d7f8744819a0dfb8f717a7e175f41225ba83
tree873586f0fc7311075f2d66b098052342ecce2291
parent0954ce1000cb646cda8bad3918cc9bbdcbdbf88b
i965: Only resolve texture levels/layers that are accessed.

This should avoid unnecessary resolves when working with texture views.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by; Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_draw.c