<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong results produced by vkCmdCopyBuffer() from storage texel buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105320#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong results produced by vkCmdCopyBuffer() from storage texel buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105320">bug 105320</a>
from <span class="vcard"><a class="email" href="mailto:bas@basnieuwenhuizen.nl" title="Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>"> <span class="fn">Bas Nieuwenhuizen</span></a>
</span></b>
<pre>Hi,
On which GPUs did you have this issue?
On Vega this suffers from a bug with buffers sizes, where if you use a buffer
view with constant index, the HW interprets the number of elements as the
number of bytes. As the example allocates buffers of size 4, and hence 1
elements, this means that all the accesses in the shader fail.
This is a radv/LLVM bug and we're working on fixing it.
<a href="https://patchwork.freedesktop.org/patch/205590/">https://patchwork.freedesktop.org/patch/205590/</a> was a proposed fix, but causes
other regressions.
However it seems to work for me on Polaris. I'd appreciate if you can tell
whether you've seen the issue for pre-vega as well and that I hence need to
look deeper there.
Thanks,
Bas</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>