diff options
author | Jason Ekstrand <[email protected]> | 2016-06-21 16:16:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-13 11:47:37 -0700 |
commit | 76e2dcc131dda3ddbbbad220d187cfca0a2711b4 (patch) | |
tree | e4d0009ccb24c8191b6853cc7b44e96ebdf7b7bd /src/intel | |
parent | 3ab3d97ac9d5851ce452b74822fff0c6c6694ad2 (diff) |
isl: Add an auxiliary surface usage enum
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/isl/isl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index 9c036ddc76b..5421c7b1351 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -511,6 +511,32 @@ enum isl_dim_layout { ISL_DIM_LAYOUT_GEN9_1D, }; +enum isl_aux_usage { + /** No Auxiliary surface is used */ + ISL_AUX_USAGE_NONE, + + /** The primary surface is a depth surface and the auxiliary surface is HiZ */ + ISL_AUX_USAGE_HIZ, + + /** The auxiliary surface is an MCS + * + * @invariant isl_surf::samples > 1 + */ + ISL_AUX_USAGE_MCS, + + /** The auxiliary surface is a fast-clear-only compression surface + * + * @invariant isl_surf::samples == 1 + */ + ISL_AUX_USAGE_CCS_D, + + /** The auxiliary surface provides full lossless color compression + * + * @invariant isl_surf::samples == 1 + */ + ISL_AUX_USAGE_CCS_E, +}; + /* TODO(chadv): Explain */ enum isl_array_pitch_span { ISL_ARRAY_PITCH_SPAN_FULL, |