<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [RADV] texelFetch not working when multiple texel buffer inputs are bound"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110970">110970</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[RADV] texelFetch not working when multiple texel buffer inputs are bound
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kd-117@hotmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=144613" name="attach_144613" title="Renderdoc trace of affected frame">attachment 144613</a> <a href="attachment.cgi?id=144613&action=edit" title="Renderdoc trace of affected frame">[details]</a></span>
Renderdoc trace of affected frame
I've encountered a curious situation using RADV regarding texel buffer access
in vertex shaders. I have 3 buffers mapped to texel buffer inputs and I cannot
properly access both at the same time. Curiously, if one buffer object is
viewed in more than one buffer view, everything is ok. If I comment out all
access to one of the loads in renderdoc the fetches seem to work fine as long
as the other is not referenced in the shader. I have attached a renderdoc trace
showing this behaviour. The renderdoc eventID of interest is no 97 which is
supposed to render a cube.
This issue has been confirmed by at least one other RADV user with an RX570.
Changing the driver to amdvlk makes the issue go away. Hopefully I merley
overlooked something but khronos' validation layer gives no errors or warnings.
Application: RPCS3 emulator
Mesa version: Mesa 19.2.0-devel (git-21dd881 2019-06-20 bionic-oibaf-ppa)
RADV version: 'AMD RADV POLARIS10 (LLVM 8.0.0)' running on driver 19.1.99</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>