mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/isl: Don't reconfigure aux surfaces for MCS
If aux for MCS is already configured, don't configure again. v2: Fix missing period in commit message (Nanley Chery) Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
parent
810fc75dab
commit
2f0fbe06e6
1 changed files with 3 additions and 0 deletions
|
|
@ -1773,6 +1773,9 @@ isl_surf_get_mcs_surf(const struct isl_device *dev,
|
|||
if (surf->msaa_layout != ISL_MSAA_LAYOUT_ARRAY)
|
||||
return false;
|
||||
|
||||
if (mcs_surf->size_B > 0)
|
||||
return false;
|
||||
|
||||
/* The following are true of all multisampled surfaces */
|
||||
assert(surf->samples > 1);
|
||||
assert(surf->dim == ISL_SURF_DIM_2D);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue