<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Vkd3d test failure test_resolve_non_issued_query_data()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108909#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Vkd3d test failure test_resolve_non_issued_query_data()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108909">bug 108909</a>
from <span class="vcard"><a class="email" href="mailto:siglesias@igalia.com" title="Samuel Iglesias Gonsálvez <siglesias@igalia.com>"> <span class="fn">Samuel Iglesias Gonsálvez</span></a>
</span></b>
<pre>(In reply to Lionel Landwerlin from <a href="show_bug.cgi?id=108909#c3">comment #3</a>)
<span class="quote">> I'm afraid we'll need a render target flush...
> The stall at pixel scoreboard doesn't ensure everything has landed.</span >
I was about to say that. This diff fixes the issue:
diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c
index 4831c4ea334..46c12bfe7d6 100644
--- a/src/intel/vulkan/genX_query.c
+++ b/src/intel/vulkan/genX_query.c
@@ -529,6 +529,7 @@ void genX(CmdWriteTimestamp)(
pc.DestinationAddressType = DAT_PPGTT;
pc.PostSyncOperation = WriteTimestamp;
pc.Address = anv_address_add(query_addr, 8);
+ pc.RenderTargetCacheFlushEnable = true;
if (GEN_GEN == 9 && cmd_buffer->device->info.gt == 4)
pc.CommandStreamerStallEnable = true;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>