diff options
author | Zack Rusin <[email protected]> | 2013-06-17 21:06:11 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-06-17 21:43:10 -0400 |
commit | 9542131b273d01d2c3403e6791172347cb792e34 (patch) | |
tree | 8dad771a75c40ae6c051a81c4e31636e54e1cc85 /src/gallium/auxiliary/draw/draw_context.h | |
parent | 8975dc798d6b7790de7a788c8263b636cfd02184 (diff) |
Revert "draw: clear the draw buffers in draw"
This reverts commit 41966fdb3b71c0b70aeb095e0eb3c5626c144a3a.
While it's a lot cleaner it causes regressions because
the draw interface is always called from the draw functions
of the drivers (because the buffers need to be mapped) which
means that the stream output buffers endup being cleared on
every draw rather than on setting.
Signed-off-by: Zack Rusin <[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, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index ae6306811f9..4a1b27ee414 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -231,8 +231,7 @@ 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], - unsigned append_bitmask); + struct draw_so_target *targets[PIPE_MAX_SO_BUFFERS]); /*********************************************************************** |