Skip to content
Commit b631a125 authored by Alex Smith's avatar Alex Smith Committed by Juan A. Suarez Romero
Browse files

radv: Flush before vkCmdWriteTimestamp() if needed

As done for vkCmdBeginQuery() already. Prevents timestamps from being
overwritten by previous vkCmdResetQueryPool() calls if the shader path
was used to do the reset.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108925


Fixes: a41e2e9c ("radv: allow to use a compute shader for resetting the query pool")
Signed-off-by: default avatarAlex Smith <asmith@feralinteractive.com>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit c1b6cb06)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>

Conflicts:
	src/amd/vulkan/radv_query.c
parent 416b284b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment