mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
i965/miptree: Allow get_aux_isl_surf when there is no aux surface
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
dd46c8da31
commit
67ea60db0b
1 changed files with 2 additions and 1 deletions
|
|
@ -3187,7 +3187,8 @@ intel_miptree_get_aux_isl_surf(struct brw_context *brw,
|
|||
} else if (mt->fast_clear_state != INTEL_FAST_CLEAR_STATE_NO_MCS) {
|
||||
*usage = ISL_AUX_USAGE_CCS_D;
|
||||
} else {
|
||||
unreachable("Invalid MCS miptree");
|
||||
*usage = ISL_AUX_USAGE_NONE;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Figure out the format and tiling of the auxiliary surface */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue