From: Kenneth Graunke Date: Fri, 24 May 2019 07:16:11 +0000 (-0700) Subject: iris: Don't flag IRIS_DIRTY_URB after BLORP operations unless it changed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5fa3abfc281c652de9fe8b10c7cab8b252bb428;p=mesa.git iris: Don't flag IRIS_DIRTY_URB after BLORP operations unless it changed 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. --- diff --git a/src/gallium/drivers/iris/iris_blorp.c b/src/gallium/drivers/iris/iris_blorp.c index 2f36c4a5705..895bfb77444 100644 --- a/src/gallium/drivers/iris/iris_blorp.c +++ b/src/gallium/drivers/iris/iris_blorp.c @@ -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 |