diff options
author | Kenneth Graunke <[email protected]> | 2018-11-27 15:30:16 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | 761a5fb36ac86516ffc16f2af7f7b07250756e43 (patch) | |
tree | e144cc7470ba19ccaf6a1f199bace3d3502628b0 /src/gallium/drivers/iris/iris_clear.c | |
parent | 40b12c103ca0173a1223c2cb37fe40901881b5ec (diff) |
iris: fix conditional compute, don't stomp predicate for pipelined queries
Diffstat (limited to 'src/gallium/drivers/iris/iris_clear.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_clear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index 493ebaa9ad7..be458a8dcc1 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -53,11 +53,11 @@ iris_clear(struct pipe_context *ctx, struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; - if (ice->predicate == IRIS_PREDICATE_STATE_DONT_RENDER) + if (ice->state.predicate == IRIS_PREDICATE_STATE_DONT_RENDER) return; enum blorp_batch_flags blorp_flags = 0; - if (ice->predicate == IRIS_PREDICATE_STATE_USE_BIT) + if (ice->state.predicate == IRIS_PREDICATE_STATE_USE_BIT) blorp_flags |= BLORP_BATCH_PREDICATE_ENABLE; iris_batch_maybe_flush(batch, 1500); |