diff options
author | Zack Rusin <[email protected]> | 2013-06-13 17:57:47 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-06-17 11:06:39 -0400 |
commit | 41966fdb3b71c0b70aeb095e0eb3c5626c144a3a (patch) | |
tree | 086d16f5c1acca677050acf06c782521e591dcc5 /src/gallium/auxiliary/draw/draw_context.h | |
parent | 98bc4c62a621fa1f8c099c45767d22e5d2bc9741 (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/auxiliary/draw/draw_context.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index 4a1b27ee414..ae6306811f9 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -231,7 +231,8 @@ draw_set_mapped_constant_buffer(struct draw_context *draw, void draw_set_mapped_so_targets(struct draw_context *draw, int num_targets, - struct draw_so_target *targets[PIPE_MAX_SO_BUFFERS]); + struct draw_so_target *targets[PIPE_MAX_SO_BUFFERS], + unsigned append_bitmask); /*********************************************************************** |