Mesa (master): llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too

Brian Paul brianp at kemper.freedesktop.org
Fri Apr 16 16:02:06 UTC 2010


Module: Mesa
Branch: master
Commit: b387f74c38178c857f6d34b500c40587d54288dc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b387f74c38178c857f6d34b500c40587d54288dc

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Apr 15 17:40:44 2010 -0600

llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too

---

 src/gallium/drivers/llvmpipe/lp_flush.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c
index a248142..3627dbd 100644
--- a/src/gallium/drivers/llvmpipe/lp_flush.c
+++ b/src/gallium/drivers/llvmpipe/lp_flush.c
@@ -65,7 +65,8 @@ llvmpipe_flush( struct pipe_context *pipe,
    }
 
    /* ask the setup module to flush */
-   if (flags & (PIPE_FLUSH_SWAPBUFFERS | PIPE_FLUSH_RENDER_CACHE)) {
+   if (flags & (PIPE_FLUSH_SWAPBUFFERS | PIPE_FLUSH_RENDER_CACHE |
+                PIPE_FLUSH_TEXTURE_CACHE)) {
       lp_setup_flush(llvmpipe->setup, flags);
    }
 




More information about the mesa-commit mailing list