summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_flush.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-02 20:30:54 -0700
committerBrian Paul <[email protected]>2011-02-02 20:30:56 -0700
commit843f206a342751084cbd55d9fb0fdf78fd310e99 (patch)
tree42b0cdca6322c3d6a54397a365da0f09c16bc64c /src/gallium/drivers/softpipe/sp_flush.c
parentc06fa98c86abbff730a098ffbe980347b3c7d0e6 (diff)
softpipe: rename fragment sampler/view fields
To be consistant with vertex, geometry sampler fields.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_flush.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_flush.c b/src/gallium/drivers/softpipe/sp_flush.c
index d422cb17a4b..6f7addd441a 100644
--- a/src/gallium/drivers/softpipe/sp_flush.c
+++ b/src/gallium/drivers/softpipe/sp_flush.c
@@ -51,7 +51,7 @@ softpipe_flush( struct pipe_context *pipe,
draw_flush(softpipe->draw);
if (flags & PIPE_FLUSH_TEXTURE_CACHE) {
- for (i = 0; i < softpipe->num_sampler_views; i++) {
+ for (i = 0; i < softpipe->num_fragment_sampler_views; i++) {
sp_flush_tex_tile_cache(softpipe->fragment_tex_cache[i]);
}
for (i = 0; i < softpipe->num_vertex_sampler_views; i++) {