anv: Clarify behavior of anv_image_aspect_to_plane()
authorChad Versace <chadversary@chromium.org>
Thu, 24 Oct 2019 21:21:02 +0000 (14:21 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Feb 2020 21:01:45 +0000 (21:01 +0000)
commita76fd8b08cf0274a6d8bfe97f05b96014f2a9e98
tree3d3e54e57192285a5fc4f25751d98274338a6a25
parentda2b0c6c19b080a1e4d91d3b2248dd974483c9fb
anv: Clarify behavior of anv_image_aspect_to_plane()

It returns the aspect's _format_ plane, not its _memory_ plane (using the
vocabulary of VK_EXT_image_drm_format_modifier).

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3796>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3796>
src/intel/vulkan/anv_private.h