From: Rob Clark Date: Sun, 24 Jul 2016 13:32:09 +0000 (-0400) Subject: freedreno/a4xx: time-elapsed query should be active for clears X-Git-Tag: upstream/17.1.0~7755 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f57e578812f277c87966279a728dd2a60b4e9be;p=platform%2Fupstream%2Fmesa.git freedreno/a4xx: time-elapsed query should be active for clears Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_query.c b/src/gallium/drivers/freedreno/a4xx/fd4_query.c index baa3787..41e3e65 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_query.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_query.c @@ -253,7 +253,7 @@ static const struct fd_hw_sample_provider occlusion_predicate = { static const struct fd_hw_sample_provider time_elapsed = { .query_type = PIPE_QUERY_TIME_ELAPSED, - .active = FD_STAGE_DRAW, + .active = FD_STAGE_DRAW | FD_STAGE_CLEAR, .enable = time_elapsed_enable, .get_sample = time_elapsed_get_sample, .accumulate_result = time_elapsed_accumulate_result,