summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-06-13 17:57:47 -0400
committerZack Rusin <[email protected]>2013-06-17 11:06:39 -0400
commit41966fdb3b71c0b70aeb095e0eb3c5626c144a3a (patch)
tree086d16f5c1acca677050acf06c782521e591dcc5 /src/gallium/drivers/softpipe/sp_context.h
parent98bc4c62a621fa1f8c099c45767d22e5d2bc9741 (diff)
draw: clear the draw buffers in draw
Moves clearing of the draw so target buffers to the draw module. They had to be cleared in the drivers before which was quite messy. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index 431864ae087..ea6c0f929c5 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -88,6 +88,7 @@ struct softpipe_context {
struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS];
unsigned num_so_targets;
+ unsigned so_append_bitmask;
struct pipe_query_data_so_statistics so_stats;
unsigned num_primitives_generated;