From 3bcb1a7fcd09e60dcd134e925e7a139e0e9691f3 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 18 Jan 2019 00:01:05 -0800 Subject: [PATCH] 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. --- src/gallium/drivers/iris/iris_blorp.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.30.2