radv: do not link shaders when the next stage is unknown
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Sep 2022 08:16:11 +0000 (10:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Sep 2022 11:53:38 +0000 (11:53 +0000)
commite529745be3af9c792fba8e6e8a3075c8d78851af
tree9ce5c64cd36800b40ff42cbe3a2b102451a28fc0
parent037404b4414082bc6c0863a2e72f7d4d16174986
radv: do not link shaders when the next stage is unknown

With GPL, it's possible to build the pre-rasterization stages separately
from the fragment stage. Implicit IO (like gl_PrimitiveID) between the
last pre-rast stage and the FS will be addressed later.

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/18516>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader_info.c