radv: remove useless DCC disable check for 3D images on GFX10+
addrlib uses the S swizzle mode which disables DCC completely. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9526>
This commit is contained in:
parent
2bc51226e1
commit
9704ed3f57
|
@ -212,12 +212,6 @@ radv_use_dcc_for_image(struct radv_device *device,
|
|||
if (!radv_image_use_fast_clear_for_image(device, image))
|
||||
return false;
|
||||
|
||||
/* FIXME: DCC for 3D images with mimaps are broken on GFX10+. */
|
||||
if (pCreateInfo->mipLevels > 1 &&
|
||||
pCreateInfo->imageType == VK_IMAGE_TYPE_3D &&
|
||||
device->physical_device->rad_info.chip_class >= GFX10)
|
||||
return false;
|
||||
|
||||
/* FIXME: Fix DCC layers and mipmaps on GFX9. */
|
||||
if ((pCreateInfo->arrayLayers > 1 || pCreateInfo->mipLevels > 1) &&
|
||||
device->physical_device->rad_info.chip_class == GFX9)
|
||||
|
|
Loading…
Reference in New Issue