lavapipe: don't double unbind gfx stages on pipeline bind

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21866>
This commit is contained in:
Mike Blumenkrantz 2023-03-13 13:22:47 -04:00 committed by Marge Bot
parent d97d921634
commit 42ebb995c5

View file

@ -666,12 +666,6 @@ handle_graphics_stages(struct rendering_state *state, VkShaderStageFlagBits shad
}
bool has_stage[MESA_SHADER_STAGES] = { false };
state->pctx->bind_gs_state(state->pctx, NULL);
if (state->pctx->bind_tcs_state)
state->pctx->bind_tcs_state(state->pctx, NULL);
if (state->pctx->bind_tes_state)
state->pctx->bind_tes_state(state->pctx, NULL);
state->tess_states[0] = NULL;
state->tess_states[1] = NULL;
state->gs_output_lines = GS_OUTPUT_NONE;