diff options
author | Zack Rusin <zack@kde.org> | 2010-06-11 13:31:52 -0400 |
---|---|---|
committer | Zack Rusin <zack@kde.org> | 2010-06-11 13:31:52 -0400 |
commit | 53bd9796a1395e4acde884ff55cb7ee18586595a (patch) | |
tree | 639d1ab660ad6266a1d1c5639e04daead6a031ed /src/gallium/drivers/softpipe/sp_flush.c | |
parent | 23969670387bc0bb7d0761936905e5eb4df963dc (diff) | |
download | external_mesa3d-53bd9796a1395e4acde884ff55cb7ee18586595a.zip external_mesa3d-53bd9796a1395e4acde884ff55cb7ee18586595a.tar.gz external_mesa3d-53bd9796a1395e4acde884ff55cb7ee18586595a.tar.bz2 |
gallium/softpipe/draw: support samplers in geometry shaders
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_flush.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_flush.c | 3 |
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 5024fc8..4a53ef0 100644 --- a/src/gallium/drivers/softpipe/sp_flush.c +++ b/src/gallium/drivers/softpipe/sp_flush.c @@ -56,6 +56,9 @@ softpipe_flush( struct pipe_context *pipe, for (i = 0; i < softpipe->num_vertex_sampler_views; i++) { sp_flush_tex_tile_cache(softpipe->vertex_tex_cache[i]); } + for (i = 0; i < softpipe->num_geometry_sampler_views; i++) { + sp_flush_tex_tile_cache(softpipe->geometry_tex_cache[i]); + } } if (flags & PIPE_FLUSH_SWAPBUFFERS) { |