anv: Drop anv_image.c:get_surface()
authorChad Versace <chad@kiwitree.net>
Wed, 19 Feb 2020 19:05:37 +0000 (11:05 -0800)
committerchadversary <chad@kiwitree.net>
Wed, 19 Feb 2020 19:41:05 +0000 (19:41 +0000)
commitd8fe9e045f0ea24fe869c980fe4b56f4fb9437ab
treec8f90f2ce1af5ff050c371fce8530c270d094118
parent58bdc1c748f2922b3970c3b3a41d1b0977f07886
anv: Drop anv_image.c:get_surface()

It was called exactly once, and even there it returned the wrong surface
in a corner case.

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