From: Kenneth Graunke Date: Fri, 18 Jan 2019 08:01:05 +0000 (-0800) Subject: iris: Don't whack SO dirty bits when finishing a BLORP op X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bcb1a7fcd09e60dcd134e925e7a139e0e9691f3;p=mesa.git iris: Don't whack SO dirty bits when finishing a BLORP op Re-emitting 3DSTATE_SO_BUFFERS can be hazardous, as it could zero offsets. Plus, it's just not necessary - BLORP doesn't change these. --- diff --git a/src/gallium/drivers/iris/iris_blorp.c b/src/gallium/drivers/iris/iris_blorp.c index c372c7f6be5..9963985ed97 100644 --- a/src/gallium/drivers/iris/iris_blorp.c +++ b/src/gallium/drivers/iris/iris_blorp.c @@ -327,6 +327,8 @@ iris_blorp_exec(struct blorp_batch *blorp_batch, */ // XXX: skip some if (!(batch->flags & BLORP_BATCH_NO_EMIT_DEPTH_STENCIL)) ice->state.dirty |= ~(IRIS_DIRTY_POLYGON_STIPPLE | + IRIS_DIRTY_SO_BUFFERS | + IRIS_DIRTY_SO_DECL_LIST | IRIS_DIRTY_LINE_STIPPLE); if (params->dst.enabled) {