<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [anv] vkCmdCopyBuffer() and vkCmdCopyQueryPoolResults() write-after-write hazard"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108894#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [anv] vkCmdCopyBuffer() and vkCmdCopyQueryPoolResults() write-after-write hazard"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108894">bug 108894</a>
from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
<pre><span class="quote">> A call to genX(cmd_buffer_apply_pipe_flushes) seems to fix it for me.</span >
I think we need to do a bit more than just that because MI writes aren't
pipelined. Probably something like:
/* Because MI writes aren't pipelined, we need a CS stall */
if (flushes & ANV_PIPE_FLUSH_BITS)
flushes |= ANV_PIPE_CS_STALL_BIT;
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);</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>