diff options
author | Samuel Pitoiset <[email protected]> | 2019-10-09 13:34:52 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-10-10 13:23:22 +0200 |
commit | 9d17d97ee41ae9d3eb5061a4bc607e430bdae477 (patch) | |
tree | 97d0fbbd5d319e5e58a9f3f13ef45004c1bb645d /src/glx/glxconfig.h | |
parent | dad80eadb2815727ece2827ca29dd648ab1adbb1 (diff) |
radv: use a compute shader for copying timestamp query results
When the timestamp is not ready (ie. UINT64_MAX), the availabily bit
should be zero. The previous code used to copy the timestamp value
as the availabily bit and that's completely wrong.
Because it's not that simple to emit a conditional with the CP, the
driver now uses a compute shader for copying timestamp query results.
Fixes dEQP-VK.pipeline.timestamp.misc_tests.reset_query_before_copy.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/glx/glxconfig.h')
0 files changed, 0 insertions, 0 deletions