radv: drop the remaining uses of shader modules
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 Apr 2022 14:41:28 +0000 (16:41 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Apr 2022 06:13:24 +0000 (06:13 +0000)
commitdca28a6355c2a4ad0661ecd7f8fe4af2feb59b32
treec40f1d9e734aaf2716b47650cd643babef9def9e
parentb48231cb9096f0ded970bfe25aff1912348ab994
radv: drop the remaining uses of shader modules

With VK_EXT_graphics_pipeline_library, shader modules can be NULL and
be passed via the pNext of VkPipelineShaderStageCreateInfo. To prepare
for this, just store everything we need to radv_pipeline_stage.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15847>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_pipeline_rt.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c