anv: Respect ISL_SURF_USAGE_DISABLE_AUX_BIT in make_surface()
authorChad Versace <chadversary@chromium.org>
Wed, 30 Oct 2019 16:15:48 +0000 (09:15 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Feb 2020 21:34:02 +0000 (21:34 +0000)
commitc13202af7a86976e6d0400f2cee77afcc60ea828
tree0012cf8e008e2100dfd2651c5fd3935a4f74d6ce
parenta76fd8b08cf0274a6d8bfe97f05b96014f2a9e98
anv: Respect ISL_SURF_USAGE_DISABLE_AUX_BIT in make_surface()

If set, then don't make the aux surface.

Only anv_android.c used the flag, but anv_image.c fully ignored it.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3797>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3797>
src/intel/vulkan/anv_image.c