summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-03-17 16:08:21 +0000
committerThomas Hellstrom <[email protected]>2011-07-01 13:30:36 +0200
commit6d58029bf0dbe5606f0bc4aea920767ddd3a06d5 (patch)
tree369e04d1e0b6c3ec06eae32248327cdc173429d1 /src/gallium/drivers/svga/svga_context.h
parentc250363022ea2d4d8de1a1660431f35d8b92aca4 (diff)
svga: Flush when switching between HW to SW TNL, after updating need_swtnl.
Also, only flush when going from HW TNL to SW TNL, given it is impossible for the buffers resulting from SWTNL to be ever referred by HW TNL path.
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r--src/gallium/drivers/svga/svga_context.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index eca529d262e..34b9e85c1a3 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -372,9 +372,6 @@ 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: