v3dv: remove obsolete disabled code

We are successfully using TFU blits for existing CTS tests covering
1D and 3D images.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7809>
This commit is contained in:
Iago Toral Quiroga
2020-11-26 12:51:22 +01:00
parent 04ea3d6501
commit 14e7361c4a
-6
View File
@@ -3902,12 +3902,6 @@ blit_tfu(struct v3dv_cmd_buffer *cmd_buffer,
if (vk_format_is_depth_or_stencil(vk_format))
return false;
#if 0
/* FIXME: Only 2D images? */
if (dst->type == VK_IMAGE_TYPE_2D || src->type == VK_IMAGE_TYPE_2D)
return false;
#endif
/* Destination can't be raster format */
const uint32_t dst_mip_level = region->dstSubresource.mipLevel;
if (dst->slices[dst_mip_level].tiling == VC5_TILING_RASTER)