mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
32ccec7450
commit
fc0545e6a7
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue