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:
Ilia Mirkin
2016-11-25 21:08:16 -05:00
parent 8a70a4d984
commit 0a5e1b02cf
+1 -1
View File
@@ -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;
}