If a NIR stage is present, there shouldn't be any compiled binaries
in the same stage slot.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24423>
struct radv_shader_binary **binaries, struct radv_shader_binary **gs_copy_binary)
{
for (int s = MESA_VULKAN_SHADER_STAGES - 1; s >= 0; s--) {
- if (!(active_nir_stages & (1 << s)) || pipeline->base.shaders[s])
+ if (!(active_nir_stages & (1 << s)))
continue;
nir_shader *shaders[2] = {stages[s].nir, NULL};