i965: Return whether the miptree was resolved from intel_miptree_resolve_color().
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 23 Jul 2016 01:16:45 +0000 (18:16 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 26 Aug 2016 01:36:07 +0000 (18:36 -0700)
commit071665c16191e3738f4ee173398da45c008e005a
tree2bc91dd53626d98523cfabd3cc2e41685e8a53c4
parentf24e393bd5caee85994b00b93f141e6c4b99e273
i965: Return whether the miptree was resolved from intel_miptree_resolve_color().

This will allow optimizing out the cache flush in some cases when
resolving wasn't necessary.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h