anv: Fix -Wswitch in anv_layout_to_aux_usage()
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 21:39:12 +0000 (14:39 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 22:18:24 +0000 (15:18 -0700)
commitecd8f8580288361f6c4d532ba964a744dd62a9dd
tree7e3c5ee907bcb3521b29969332862e1ac9cbf8c2
parent55f335bd303da8fff90ccc8d7e43aac70d4b80b5
anv: Fix -Wswitch in anv_layout_to_aux_usage()

anv_layout_to_aux_usage() lacked a case for
VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR. Add an unreachable case, because we
don't support the extension.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_image.c