summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_blit.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-27 15:30:16 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit761a5fb36ac86516ffc16f2af7f7b07250756e43 (patch)
treee144cc7470ba19ccaf6a1f199bace3d3502628b0 /src/gallium/drivers/iris/iris_blit.c
parent40b12c103ca0173a1223c2cb37fe40901881b5ec (diff)
iris: fix conditional compute, don't stomp predicate for pipelined queries
Diffstat (limited to 'src/gallium/drivers/iris/iris_blit.c')
-rw-r--r--src/gallium/drivers/iris/iris_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c
index b8562d08945..10b326e1884 100644
--- a/src/gallium/drivers/iris/iris_blit.c
+++ b/src/gallium/drivers/iris/iris_blit.c
@@ -257,10 +257,10 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
enum blorp_batch_flags blorp_flags = 0;
if (info->render_condition_enable) {
- if (ice->predicate == IRIS_PREDICATE_STATE_DONT_RENDER)
+ if (ice->state.predicate == IRIS_PREDICATE_STATE_DONT_RENDER)
return;
- if (ice->predicate == IRIS_PREDICATE_STATE_USE_BIT)
+ if (ice->state.predicate == IRIS_PREDICATE_STATE_USE_BIT)
blorp_flags |= BLORP_BATCH_PREDICATE_ENABLE;
}