iris: Don't flag IRIS_DIRTY_URB after BLORP operations unless it changed
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 24 May 2019 07:16:11 +0000 (00:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 27 May 2019 00:45:18 +0000 (17:45 -0700)
We already flag IRIS_DIRTY_URB when we change it, but we were
additionally flagging it on every BLORP operation, even if we didn't.

src/gallium/drivers/iris/iris_blorp.c

index 2f36c4a57053af252c18868eca16de60e1f91ba1..895bfb774448501d2edf8e33b04952bc5b97a04a 100644 (file)
@@ -332,6 +332,7 @@ iris_blorp_exec(struct blorp_batch *blorp_batch,
                          IRIS_DIRTY_UNCOMPILED_GS |
                          IRIS_DIRTY_UNCOMPILED_FS |
                          IRIS_DIRTY_VF |
+                         IRIS_DIRTY_URB |
                          IRIS_DIRTY_SF_CL_VIEWPORT |
                          IRIS_DIRTY_SAMPLER_STATES_VS |
                          IRIS_DIRTY_SAMPLER_STATES_TCS |