summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-16 14:20:14 -0700
committerBrian Paul <[email protected]>2011-02-16 17:07:02 -0700
commitc8f8d7d873269bd2e01f088725f754f9413102b5 (patch)
tree3f65d1c5a072c048a0f2b0ee384f043a61ba419c /src/gallium/drivers/svga/svga_context.h
parentb5df19492322cbe3a61d45981111fd862772f427 (diff)
svga: flush when transitioning between HW and SW rendering paths
To avoid mixing HW and SW rendering with the same vertex buffer.
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r--src/gallium/drivers/svga/svga_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index 6fd0bdb38b8..4d4f50366ea 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -367,6 +367,9 @@ struct svga_context
/** List of buffers with queued transfers */
struct list_head dirty_buffers;
+
+ /** Was the previous draw done with the SW path? */
+ boolean prev_draw_swtnl;
};
/* A flag for each state_tracker state object: