radv: fix exporting multiviews with NGG
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 27 Nov 2020 14:29:34 +0000 (15:29 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 7 Dec 2020 08:06:43 +0000 (08:06 +0000)
commitfadcf13c8bad5bc07e7fffaca7197adda66b4bd7
tree1906ac94f0e99726af86f68f64cd4a84ce166ad6
parent5cacb56041d1acbbff162509d0635ba465b80df6
radv: fix exporting multiviews with NGG

If a subpass uses multiview but the fragment shader doesn't load it
we still have to export it.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7815>
src/amd/vulkan/radv_shader_args.c