summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-06-15 18:42:13 +0100
committerJosé Fonseca <[email protected]>2009-06-15 18:42:13 +0100
commit5d0cf9ebb41c05b0c6fa6914ccbb1e1871e27099 (patch)
tree6adb1df3ec3d7beaeaab8d94ba44f5c4b9a9dda9 /src/gallium/drivers/softpipe/sp_context.h
parent0e1abced56131c56717c4f317c33ac6e3fab4ff7 (diff)
softpipe: Fix softpipe_is_texture_referenced.
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index 59d6df8f2dd..dffc15a4f19 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -144,6 +144,8 @@ struct softpipe_context {
struct draw_stage *vbuf;
struct softpipe_vbuf_render *vbuf_render;
+ boolean dirty_render_cache;
+
struct softpipe_tile_cache *cbuf_cache[PIPE_MAX_COLOR_BUFS];
struct softpipe_tile_cache *zsbuf_cache;