radv: fix wrong index in radv_skip_graphics_pipeline_compile()
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12089 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31901>
This commit is contained in:
committed by
Marge Bot
parent
32ccec7450
commit
fc0545e6a7
@@ -2523,10 +2523,10 @@ radv_skip_graphics_pipeline_compile(const struct radv_device *device, const VkGr
|
||||
active_stages |= gfx_pipeline_lib->base.active_stages;
|
||||
|
||||
for (uint32_t s = 0; s < MESA_VULKAN_SHADER_STAGES; s++) {
|
||||
if (!gfx_pipeline_lib->base.base.shaders[i])
|
||||
if (!gfx_pipeline_lib->base.base.shaders[s])
|
||||
continue;
|
||||
|
||||
binary_stages |= mesa_to_vk_shader_stage(i);
|
||||
binary_stages |= mesa_to_vk_shader_stage(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user