i965/blorp: Rework resolve handling
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Nov 2016 21:47:13 +0000 (13:47 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Nov 2016 20:03:24 +0000 (12:03 -0800)
commitc8357b5d34abd0ba6391df955db74354ac3bc159
tree0fbdbf475e01ea6595757cda97df4a5d5ac745b2
parentedb7f67bd9c320cd47af20dc0a854e65fced7d9b
i965/blorp: Rework resolve handling

This commit moves the handling of resolves into blorp_surf_for_miptree().
Instead of each helper doing resolves and checks itself, it simply tells
blorp_surf_for_miptree which aux modes are supported by the given blorp
operation and blorp_surf_for_miptree will resolve as-needed.

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