radv: stop copying if VS or TES uses the InvocationID built-in
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Aug 2023 15:44:54 +0000 (17:44 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Aug 2023 09:31:23 +0000 (09:31 +0000)
commitb78ea2a38f2397e0e576e5cd79aa9a92d71e6998
tree3b76896d4157ecc93e54ae38c37f04b852890562
parentd547c996ae3e395924a8d542bd15b6803a0581b8
radv: stop copying if VS or TES uses the InvocationID built-in

It's only allowed in TCS or GS which means the src shader stage
value is always FALSE.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24691>
src/amd/vulkan/radv_shader_info.c