swr: don't clear all dirty bits when changing so targets
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 26 Nov 2016 02:08:16 +0000 (21:08 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Nov 2016 00:41:23 +0000 (19:41 -0500)
commit0a5e1b02cf6103037b488db5daa3097fbcfcf670
tree98808cb4cbe4b0c955b3fe1b829eb15f52f26a8d
parent8a70a4d9844f7aa50cc6ef16a5f79ba86bc11eaa
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>
src/gallium/drivers/swr/swr_state.cpp