Browse Source

anv/formats: Disable I915_FORMAT_MOD_Y_TILED_CCS on TGL+

The format of the CCS has changed.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
tags/19.3-branchpoint
Nanley Chery 6 years ago
parent
commit
0eaf293b47
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/intel/vulkan/anv_formats.c

+ 5
- 0
src/intel/vulkan/anv_formats.c View File

anv_format->planes[0].isl_format)) anv_format->planes[0].isl_format))
continue; continue;


/* Gen12's CCS layout changes compared to Gen9-11. */
if (mod_info->modifier == I915_FORMAT_MOD_Y_TILED_CCS &&
physical_device->info.gen >= 12)
continue;

vk_outarray_append(&out, mod_props) { vk_outarray_append(&out, mod_props) {
mod_props->modifier = modifiers[i]; mod_props->modifier = modifiers[i];
if (isl_drm_modifier_has_aux(modifiers[i])) if (isl_drm_modifier_has_aux(modifiers[i]))

Loading…
Cancel
Save