summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_flush.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-01 08:51:20 +0100
committerMichal Krol <[email protected]>2009-12-01 09:52:32 +0100
commit8a619e62bffa6f21330df747940e322909937806 (patch)
treefbe019d40a908870e02066d08c4a5de5fefd0ecc /src/gallium/drivers/softpipe/sp_flush.c
parentee86b1b58dce4c8416b5333d0ed43d059ba2a200 (diff)
sp: Implement separate vertex sampler state.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_flush.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_flush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_flush.c b/src/gallium/drivers/softpipe/sp_flush.c
index e38b767cf2c..75dac810a12 100644
--- a/src/gallium/drivers/softpipe/sp_flush.c
+++ b/src/gallium/drivers/softpipe/sp_flush.c
@@ -55,6 +55,9 @@ softpipe_flush( struct pipe_context *pipe,
for (i = 0; i < softpipe->num_textures; i++) {
sp_flush_tex_tile_cache(softpipe->tex_cache[i]);
}
+ for (i = 0; i < softpipe->num_vertex_textures; i++) {
+ sp_flush_tex_tile_cache(softpipe->vertex_tex_cache[i]);
+ }
}
if (flags & PIPE_FLUSH_SWAPBUFFERS) {