From b387f74c38178c857f6d34b500c40587d54288dc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 15 Apr 2010 17:40:44 -0600 Subject: [PATCH] llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too --- src/gallium/drivers/llvmpipe/lp_flush.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c index a248142b1de..3627dbd759c 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); } -- 2.30.2