mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
gallium: restore additional state after clearing with quad
This commit is contained in:
parent
fe40dae02d
commit
bab9209e12
1 changed files with 2 additions and 0 deletions
|
|
@ -357,6 +357,8 @@ clear_with_quad(GLcontext *ctx,
|
|||
st_invalidate_state(ctx, _NEW_COLOR | _NEW_DEPTH | _NEW_STENCIL);
|
||||
#else
|
||||
/* Restore pipe state */
|
||||
cso_set_blend(st->cso_context, &st->state.blend);
|
||||
cso_set_depth_stencil_alpha(st->cso_context, &st->state.depth_stencil);
|
||||
cso_set_rasterizer(st->cso_context, &st->state.rasterizer);
|
||||
pipe->bind_fs_state(pipe, st->fp->driver_shader);
|
||||
pipe->bind_vs_state(pipe, st->vp->driver_shader);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue