summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state_sampler.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-18 09:57:52 -0700
committerBrian Paul <brianp@vmware.com>2011-01-18 09:59:28 -0700
commitc97e4532bb517e52c09ce15246423fc861c13ea3 (patch)
tree6f248814cadfc75ea01dc88165b4b79197dd3f83 /src/gallium/drivers/softpipe/sp_state_sampler.c
parent843f537cfbf988647fec5a2aa584d5f817e8acd3 (diff)
softpipe: s/tex_cache/fragment_tex_cache/
Just to be more consistant with the vertex and geometry tex cache fields.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state_sampler.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_sampler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_sampler.c b/src/gallium/drivers/softpipe/sp_state_sampler.c
index cfa211b60a..3dd6e16e97 100644
--- a/src/gallium/drivers/softpipe/sp_state_sampler.c
+++ b/src/gallium/drivers/softpipe/sp_state_sampler.c
@@ -201,7 +201,7 @@ softpipe_set_sampler_views(struct pipe_context *pipe,
struct pipe_sampler_view *view = i < num ? views[i] : NULL;
pipe_sampler_view_reference(&softpipe->sampler_views[i], view);
- sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[i], view);
+ sp_tex_tile_cache_set_sampler_view(softpipe->fragment_tex_cache[i], view);
}
softpipe->num_sampler_views = num;
@@ -403,7 +403,7 @@ softpipe_reset_sampler_variants(struct softpipe_context *softpipe)
TGSI_PROCESSOR_FRAGMENT );
sp_sampler_variant_bind_texture( softpipe->tgsi.frag_samplers_list[i],
- softpipe->tex_cache[i],
+ softpipe->fragment_tex_cache[i],
texture );
}
}