mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 14:28:22 +02:00
anv: Avoid aux-disabling paths for block-compression
We don't support CCS on block-compressed textures prior to Xe2. On Xe2, CCS is enabled on every image. Improves INTEL_DEBUG=perf outputs. For example, in the Naraka trace on DG2, we now report that r32_uint is CCS_E-incompatible instead of bptc_rgba. This incompatibility is due to the storage usage flag and will be clarified in future commits. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41034>
This commit is contained in:
parent
8e736f4d0d
commit
df446326f8
1 changed files with 1 additions and 0 deletions
|
|
@ -1994,6 +1994,7 @@ anv_image_init(struct anv_device *device, struct anv_image *image,
|
|||
IMAGE_FORMAT_LIST_CREATE_INFO);
|
||||
|
||||
if ((image->vk.aspects & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) &&
|
||||
!vk_format_is_block_compressed(image->vk.format) &&
|
||||
image->vk.samples == 1) {
|
||||
if (image->n_planes != 1) {
|
||||
/* Multiplanar images seem to hit a sampler bug with CCS and R16G16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue