summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-04-21 08:10:22 -0600
committerBrian Paul <brianp@vmware.com>2015-04-22 08:58:05 -0600
commit02e93be55e81d5ff257f4717eb3fdb5a8f79b544 (patch)
treea27218231a6dba060ed51de499c6f65fb0a220bf /src/gallium/auxiliary/cso_cache
parent31667e6237d30188d0b29e17f5b9892f10c0d83a (diff)
downloadexternal_mesa3d-02e93be55e81d5ff257f4717eb3fdb5a8f79b544.zip
external_mesa3d-02e93be55e81d5ff257f4717eb3fdb5a8f79b544.tar.gz
external_mesa3d-02e93be55e81d5ff257f4717eb3fdb5a8f79b544.tar.bz2
cso: minor comment fix
Diffstat (limited to 'src/gallium/auxiliary/cso_cache')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
index 5d597ba..31ffa7d 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -326,7 +326,7 @@ void cso_destroy_context( struct cso_context *ctx )
ctx->pipe->set_stream_output_targets(ctx->pipe, 0, NULL, NULL);
}
- /* free fragment sampler views */
+ /* free sampler views for each shader stage */
for (shader = 0; shader < Elements(ctx->samplers); shader++) {
struct sampler_info *info = &ctx->samplers[shader];
for (i = 0; i < PIPE_MAX_SHADER_SAMPLER_VIEWS; i++) {