diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-02-02 10:00:41 +0200 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-02-16 08:52:24 +0200 |
commit | 56f29911ec9da25c78fbd3d4945d499e65ca4b5a (patch) | |
tree | fa0b9bd01542bf2891928e69851b9c7e60ff9ac5 /src/mesa/drivers/dri/i965/intel_mipmap_tree.h | |
parent | 97f4ca90b818abae3ec130167f941fa2f3573063 (diff) | |
download | external_mesa3d-56f29911ec9da25c78fbd3d4945d499e65ca4b5a.zip external_mesa3d-56f29911ec9da25c78fbd3d4945d499e65ca4b5a.tar.gz external_mesa3d-56f29911ec9da25c78fbd3d4945d499e65ca4b5a.tar.bz2 |
i965: Add a flag telling color resolve pass to ignore CCS_E
v2 (Ben): Use combination of msaa_layout and number of samples
instead of introducing explicit type for lossless
compression (intel_miptree_is_lossless_compressed()).
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index 155e507..a21f33f 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -888,6 +888,15 @@ intel_miptree_used_for_rendering(struct intel_mipmap_tree *mt) mt->fast_clear_state = INTEL_FAST_CLEAR_STATE_UNRESOLVED; } +/** + * Flag values telling color resolve pass which special types of buffers + * can be ignored. + * + * INTEL_MIPTREE_IGNORE_CCS_E: Lossless compressed (single-sample + * compression scheme since gen9) + */ +#define INTEL_MIPTREE_IGNORE_CCS_E (1 << 0) + void intel_miptree_resolve_color(struct brw_context *brw, struct intel_mipmap_tree *mt, |