iris/gen11+: Move flush for render target change
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 15 Feb 2019 19:35:28 +0000 (11:35 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Oct 2019 07:24:25 +0000 (00:24 -0700)
commitbb0c5c487e63e88acbb792f092dd8f392bad8540
tree4d4f65c6280bced7c80e382bda78b205d0dc9889
parenta2c3c65a31de90fdb55f76f2894860dfbafe2043
iris/gen11+: Move flush for render target change

When starting a BLORP operation, we do the BTI-change flush.  However,
when ending it and transitioning back to regular drawing, we change the
render target again - without a set_framebuffer_state() call.  We need
to do the BTI flush there too.  BLORP flags IRIS_DIRTY_RENDER_BUFFER
now, which will cause the next draw to get the BTI flush again.

(explanation of fix by Ken)

Fixes: 2b956a093a1 ("iris: totally untested icelake support")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_state.c