mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
gallium/cso: unbind sampler views in cso_release_all()
This commit is contained in:
parent
5b90f83aee
commit
1d298a3764
1 changed files with 2 additions and 0 deletions
|
|
@ -289,6 +289,8 @@ void cso_release_all( struct cso_context *ctx )
|
|||
ctx->pipe->bind_fs_state( ctx->pipe, NULL );
|
||||
ctx->pipe->bind_vs_state( ctx->pipe, NULL );
|
||||
ctx->pipe->bind_vertex_elements_state( ctx->pipe, NULL );
|
||||
ctx->pipe->set_fragment_sampler_views(ctx->pipe, 0, NULL);
|
||||
ctx->pipe->set_vertex_sampler_views(ctx->pipe, 0, NULL);
|
||||
}
|
||||
|
||||
for (i = 0; i < PIPE_MAX_SAMPLERS; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue