diff options
author | Rob Clark <[email protected]> | 2016-07-24 09:32:09 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-24 09:33:05 -0400 |
commit | 2f57e578812f277c87966279a728dd2a60b4e9be (patch) | |
tree | 8f49633fb10d8cfae70b07630f4f68cc8f0aee9f /src/gallium/drivers/freedreno | |
parent | 3a2e67bf781d88253d81b20de72ce22acf75916d (diff) |
freedreno/a4xx: time-elapsed query should be active for clears
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_query.c b/src/gallium/drivers/freedreno/a4xx/fd4_query.c index baa3787f9d3..41e3e6506bd 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, |