mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 13:10:28 +01:00
radv: Always call si_emit_cache_flush before writing timestamps
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>
(cherry picked from commit 284e604872)
This commit is contained in:
parent
1f9a82bec5
commit
3a59a680c2
2 changed files with 2 additions and 2 deletions
|
|
@ -6814,7 +6814,7 @@
|
|||
"description": "radv: Always call si_emit_cache_flush before writing timestamps",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2107,7 +2107,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue