mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 23:18:17 +02:00
gallium/radeon: fix PIPE_QUERY_GPU_FINISHED
Broken by the addition of r600_multi_fence
in 3b37155a68
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89014
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
40663864d2
commit
01526136ba
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ static void r600_end_query(struct pipe_context *ctx, struct pipe_query *query)
|
|||
case PIPE_QUERY_TIMESTAMP_DISJOINT:
|
||||
return;
|
||||
case PIPE_QUERY_GPU_FINISHED:
|
||||
rctx->rings.gfx.flush(rctx, RADEON_FLUSH_ASYNC, &rquery->fence);
|
||||
ctx->flush(ctx, &rquery->fence, 0);
|
||||
return;
|
||||
case R600_QUERY_DRAW_CALLS:
|
||||
rquery->end_result = rctx->num_draw_calls;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue