radv: simplify determining if NGG passthrough can be enabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 26 Aug 2022 11:36:34 +0000 (13:36 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Sep 2022 17:02:17 +0000 (17:02 +0000)
commit5082918d6588b3771ca1a09802e8585ee5a8ec43
treea486d566033b0053e119a72c3e716cce8aa0c5c6
parentdda00dd40b312b5f8f228d47c9a69e57af6667dd
radv: simplify determining if NGG passthrough can be enabled

NGG can't be enabled with XFB, so this check is redundant now.

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