mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
isl: Add an auxiliary surface usage enum
Reviewed-by: Chad Versace <chad.versace@intel.com>
This commit is contained in:
parent
3ab3d97ac9
commit
76e2dcc131
1 changed files with 26 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue