projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b90f83
)
gallium/cso: unbind sampler views in cso_release_all()
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Jul 2010 17:43:18 +0000
(11:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Jul 2010 19:07:07 +0000
(13:07 -0600)
src/gallium/auxiliary/cso_cache/cso_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/cso_cache/cso_context.c
b/src/gallium/auxiliary/cso_cache/cso_context.c
index 20a8612dcae7e3a403b91f049d7269565213f82f..2a85fe365e29da4a01de07ccb888972635357130 100644
(file)
--- a/
src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/
src/gallium/auxiliary/cso_cache/cso_context.c
@@
-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++) {