Mesa (master): freedreno/a4xx: time-elapsed query should be active for clears
Rob Clark
robclark at kemper.freedesktop.org
Sun Jul 24 13:33:27 UTC 2016
Module: Mesa
Branch: master
Commit: 2f57e578812f277c87966279a728dd2a60b4e9be
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f57e578812f277c87966279a728dd2a60b4e9be
Author: Rob Clark <robdclark at gmail.com>
Date: Sun Jul 24 09:32:09 2016 -0400
freedreno/a4xx: time-elapsed query should be active for clears
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
src/gallium/drivers/freedreno/a4xx/fd4_query.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the mesa-commit
mailing list