projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59935e
)
radv: Always call si_emit_cache_flush before writing timestamps
author
Friedrich Vock
<friedrich.vock@gmx.de>
Wed, 3 May 2023 11:52:44 +0000
(13:52 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 3 May 2023 15:24:00 +0000
(15:24 +0000)
In case of barriers with TOP_OF_PIPE as dst stage, writing timestamps
immediately would be invalid.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22823>
src/amd/vulkan/radv_query.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_query.c
b/src/amd/vulkan/radv_query.c
index
1dbf3c2
..
801f958
100644
(file)
--- a/
src/amd/vulkan/radv_query.c
+++ b/
src/amd/vulkan/radv_query.c
@@
-2145,7
+2145,7
@@
radv_CmdWriteTimestamp2(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 sta
radv_cs_add_buffer(cmd_buffer->device->ws, cs, pool->bo);
-
emit_query_flush(cmd_buffer, pool
);
+
si_emit_cache_flush(cmd_buffer
);
int num_queries = 1;
if (cmd_buffer->state.render.view_mask)