radv: Add last_vgt_api_stage and use it to simplify some code.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 5 Jul 2021 06:51:09 +0000 (08:51 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 8 Jul 2021 14:54:26 +0000 (16:54 +0200)
commit00d11c2065c2a9d52a59ba095a9fe4ef55a132d6
treed0a98b01fc302f37eb5c3da3c2e450ce146a69cd
parentc6d677ce3dc505d0d5aeb9880782d9e5c4f12ae9
radv: Add last_vgt_api_stage and use it to simplify some code.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11711>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h