radeonsi: kill point size VS output if it's not used by the rasterizer
authorMarek Olšák <marek.olsak@amd.com>
Sun, 6 Sep 2020 05:22:01 +0000 (01:22 -0400)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:17 +0000 (21:25 +0530)
commit5ef50078fced6331c8731389785762b62262afba
treeed65c2842790504c37cbf2ce21bf1dfa3dc756c3
parent07bd2cb23fab5f423cdab2b03607ef4798d0ceda
radeonsi: kill point size VS output if it's not used by the rasterizer

Fixed-func shaders can contain the output, because their generator
doesn't consider the current primitive type into account.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6620>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_llvm_vs.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c