diff options
author | Ilia Mirkin <[email protected]> | 2016-11-25 21:08:16 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-11-28 19:41:23 -0500 |
commit | 0a5e1b02cf6103037b488db5daa3097fbcfcf670 (patch) | |
tree | 98808cb4cbe4b0c955b3fe1b829eb15f52f26a8d /src/gallium | |
parent | 8a70a4d9844f7aa50cc6ef16a5f79ba86bc11eaa (diff) |
swr: don't clear all dirty bits when changing so targets
Among other things, blits would clear existing SO targets which would
cause a bunch of updates from u_blitter to be missed.
Fixes fbo-scissor-blit fbo, probably among many others.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/swr/swr_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index 41193795ce1..a67cb6050d9 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -1570,7 +1570,7 @@ swr_set_so_targets(struct pipe_context *pipe, swr->num_so_targets = num_targets; - swr->dirty = SWR_NEW_SO; + swr->dirty |= SWR_NEW_SO; } |