turnip: Fix error behavior for VkPhysicalDeviceExternalImageFormatInfo
authorChad Versace <chadversary@chromium.org>
Sat, 2 Feb 2019 00:48:44 +0000 (16:48 -0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 11 Mar 2019 17:02:13 +0000 (10:02 -0700)
commitd5239bc59c328a04d8cc44dabbacfe9a4c973ba9
tree629b2cf64541e87ea3a66ea8228f98e7e7737642
parent4b9f967cd1a95c3fe577eb4296b8d6eb017daa15
turnip: Fix error behavior for VkPhysicalDeviceExternalImageFormatInfo

If the handle type is unsupported, then the spec requires us to return
VK_ERROR_FORMAT_NOT_SUPPORTED.

Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Closes: https://gitlab.freedesktop.org/bnieuwenhuizen/mesa/merge_requests/17
src/freedreno/vulkan/tu_formats.c