Skip to content
Snippets Groups Projects
Commit c7ada490 authored by Samuel Pitoiset's avatar Samuel Pitoiset
Browse files

radv: wait on the high 32 bits of timestamp queries


In case we are unlucky if the low part is 0xffffffff.

Fixes: 5d6a560a ("radv: do not use the availability bit for timestamp queries")
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
parent e8997287
No related branches found
No related tags found
No related merge requests found
......@@ -1336,8 +1336,11 @@ void radv_CmdCopyQueryPoolResults(
if (flags & VK_QUERY_RESULT_WAIT_BIT) {
/* Wait on the high 32 bits of the timestamp in
* case the low part is 0xffffffff.
*/
radv_cp_wait_mem(cs, WAIT_REG_MEM_NOT_EQUAL,
local_src_va,
local_src_va + 4,
TIMESTAMP_NOT_READY >> 32,
0xffffffff);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment