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/drivers/softpipe/sp_state_so.c | |
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/drivers/softpipe/sp_state_so.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_so.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_so.c b/src/gallium/drivers/softpipe/sp_state_so.c index 96bb6b17ae8..3682c6c6742 100644 --- a/src/gallium/drivers/softpipe/sp_state_so.c +++ b/src/gallium/drivers/softpipe/sp_state_so.c @@ -77,7 +77,6 @@ softpipe_set_so_targets(struct pipe_context *pipe, } softpipe->num_so_targets = num_targets; - softpipe->so_append_bitmask = append_bitmask; } void |