i965/miptree: Rework prepare/finish_render to be in terms of aux_usage
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Jun 2017 03:19:54 +0000 (20:19 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 23 Jul 2017 03:59:22 +0000 (20:59 -0700)
commitbaa9e059659ed834d084ee4faf6271a8dd508494
treea93c7399da85b9e47e4fe3c39cf37562d37b127d
parentc9314d2c4684682af9f8abd06fa017a0cec3cf87
i965/miptree: Rework prepare/finish_render to be in terms of aux_usage

We keep the old and possibly broken method of determining aux usage
intact for now.  Therefore, the only functional change here is that we
may call finish_render a bit more accurately.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h