summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-01-18 00:01:05 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:11 -0800
commit3bcb1a7fcd09e60dcd134e925e7a139e0e9691f3 (patch)
treed5aaa67bac355cd44f036c7e725aed6fb1ab79ff /src/gallium/drivers
parentb9697dd820f618ddeb31f9b713bbef43cb11827d (diff)
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.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_blorp.c2
1 files changed, 2 insertions, 0 deletions
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) {