summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-04-21 08:10:22 -0600
committerBrian Paul <[email protected]>2015-04-22 08:58:05 -0600
commit02e93be55e81d5ff257f4717eb3fdb5a8f79b544 (patch)
treea27218231a6dba060ed51de499c6f65fb0a220bf /src/gallium
parent31667e6237d30188d0b29e17f5b9892f10c0d83a (diff)
cso: minor comment fix
Diffstat (limited to 'src/gallium')
-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 5d597ba5c29..31ffa7d9c0b 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++) {