radv: remove useless check about mips+layers for TC-compat HTILE images
radv_use_htile_for_image() prevents it. 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/9405>
This commit is contained in:
parent
438f65fb1e
commit
6102507a74
|
@ -82,11 +82,6 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device,
|
|||
if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR)
|
||||
return false;
|
||||
|
||||
if (pCreateInfo->mipLevels > 1 &&
|
||||
(device->physical_device->rad_info.chip_class < GFX10 ||
|
||||
pCreateInfo->arrayLayers > 1))
|
||||
return false;
|
||||
|
||||
/* Do not enable TC-compatible HTILE if the image isn't readable by a
|
||||
* shader because no texture fetches will happen.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue