ilo: add ILO_DEBUG=flush
[mesa.git] / src / gallium / drivers / ilo / ilo_query.c
index 6f2956ec6f412e433e85ee26d940a8c841d3be70..5154ddbdefc9200928e82965bb045546181362b3 100644 (file)
@@ -169,7 +169,7 @@ ilo_get_query_result(struct pipe_context *pipe, struct pipe_query *query,
 
    if (q->bo) {
       if (intel_bo_references(ilo->cp->bo, q->bo))
-         ilo_cp_flush(ilo->cp);
+         ilo_cp_flush(ilo->cp, "syncing for queries");
 
       if (!wait && intel_bo_is_busy(q->bo))
          return false;