<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_generate_graphics_pipeline_key reads input rate from incorrect binding"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104677">104677</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>radv_generate_graphics_pipeline_key reads input rate from incorrect binding
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.3
</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>philip.rebohle@tu-dortmund.de
</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=136813" name="attach_136813" title="Modification to the 'instancing' demo">attachment 136813</a> <a href="attachment.cgi?id=136813&action=edit" title="Modification to the 'instancing' demo">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=104677&attachment=136813'>[review]</a>
Modification to the 'instancing' demo
The following code leads to incorrect vertex buffer reads if
pVertexBindingDescriptions[n].binding != n for any given n:
binding = input_state->pVertexAttributeDescriptions[i].binding;
if (input_state->pVertexBindingDescriptions[binding].inputRate)
Instead, this function should scan the binding descriptions for a binding that
has the same binding number as the vertex attribute.
This can be reproduced by reordering the vertex binding definition in the
'instancing' demo from Sascha Willems' Vulkan samples, see attachments.</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>