diff options
Diffstat (limited to 'src/gallium/drivers/iris/iris_query.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_query.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c index fac5e6b5e99..f746349361d 100644 --- a/src/gallium/drivers/iris/iris_query.c +++ b/src/gallium/drivers/iris/iris_query.c @@ -359,6 +359,12 @@ iris_get_query_result_resource(struct pipe_context *ctx, ice->vtbl.store_data_imm64(batch, iris_resource_bo(p_res), offset, q->result); } + + /* Make sure the result lands before they use bind the QBO elsewhere + * and use the result. + */ + // XXX: Why? i965 doesn't do this. + iris_emit_pipe_control_flush(batch, PIPE_CONTROL_CS_STALL); return; } |