mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
radv: clear the custom blend mode when resetting gfx pipeline state
This custom blend mode is only used by internal operations and they don't use shader objects. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27479>
This commit is contained in:
parent
b0a31a62e4
commit
64e18b04d9
1 changed files with 2 additions and 2 deletions
|
|
@ -9407,8 +9407,6 @@ radv_bind_graphics_shaders(struct radv_cmd_buffer *cmd_buffer)
|
|||
cmd_buffer->state.ia_multi_vgt_param = radv_compute_ia_multi_vgt_param(device, cmd_buffer->state.shaders);
|
||||
}
|
||||
|
||||
radv_bind_custom_blend_mode(cmd_buffer, 0);
|
||||
|
||||
if (cmd_buffer->state.db_render_control) {
|
||||
cmd_buffer->state.db_render_control = 0;
|
||||
cmd_buffer->state.dirty |= RADV_CMD_DIRTY_FRAMEBUFFER;
|
||||
|
|
@ -11824,6 +11822,8 @@ radv_reset_pipeline_state(struct radv_cmd_buffer *cmd_buffer, VkPipelineBindPoin
|
|||
cmd_buffer->state.uses_dynamic_vertex_binding_stride = false;
|
||||
}
|
||||
if (cmd_buffer->state.emitted_graphics_pipeline) {
|
||||
radv_bind_custom_blend_mode(cmd_buffer, 0);
|
||||
|
||||
cmd_buffer->state.emitted_graphics_pipeline = NULL;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue