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 <imirkin@alum.mit.edu> Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user