mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
isl: further restrict alignment constraints
We can limit the AUX-TT requirements to formats supporting CCS. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26890>
This commit is contained in:
parent
907afddf97
commit
32450d0901
1 changed files with 2 additions and 0 deletions
|
|
@ -2577,6 +2577,8 @@ isl_calc_base_alignment(const struct isl_device *dev,
|
|||
* there.
|
||||
*/
|
||||
if (dev->info->has_aux_map &&
|
||||
(isl_format_supports_ccs_d(dev->info, info->format) ||
|
||||
isl_format_supports_ccs_e(dev->info, info->format)) &&
|
||||
!INTEL_DEBUG(DEBUG_NO_CCS) &&
|
||||
!(info->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)) {
|
||||
base_alignment_B = MAX(base_alignment_B, dev->info->verx10 >= 125 ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue