anv: Drop some VK_IMAGE_TILING_OPTIMAL checks
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 1 Oct 2018 21:17:47 +0000 (16:17 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jan 2020 18:27:29 +0000 (18:27 +0000)
commit44f5a92c0b16c18d7e0f5b73c243a68c94d97ad4
tree2b88eb214c8d4cda9e6bc179958a4b729607012d
parent0099f85232b700c3aa6bc771c5219de71af9626e
anv: Drop some VK_IMAGE_TILING_OPTIMAL checks

The DRM format modifiers extension adds a TILING_DRM_FORMAT_MODIFIER
which will be used for modifiers so we can no longer use OPTIMAL to
indicate tiled inside the driver.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3434>
src/intel/vulkan/anv_formats.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/genX_cmd_buffer.c