diff options
author | Francisco Jerez <currojerez@riseup.net> | 2016-07-22 18:16:45 -0700 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2016-08-25 18:36:07 -0700 |
commit | 071665c16191e3738f4ee173398da45c008e005a (patch) | |
tree | 2bc91dd53626d98523cfabd3cc2e41685e8a53c4 /src/mesa/drivers/dri/i965/intel_mipmap_tree.h | |
parent | f24e393bd5caee85994b00b93f141e6c4b99e273 (diff) | |
download | external_mesa3d-071665c16191e3738f4ee173398da45c008e005a.zip external_mesa3d-071665c16191e3738f4ee173398da45c008e005a.tar.gz external_mesa3d-071665c16191e3738f4ee173398da45c008e005a.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index c28fb33..94bf664 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -941,7 +941,7 @@ intel_miptree_used_for_rendering(struct intel_mipmap_tree *mt) */ #define INTEL_MIPTREE_IGNORE_CCS_E (1 << 0) -void +bool intel_miptree_resolve_color(struct brw_context *brw, struct intel_mipmap_tree *mt, int flags); |