https://bugs.freedesktop.org/show_bug.cgi?id=104677
Bug ID: 104677
Summary: radv_generate_graphics_pipeline_key reads input rate
from incorrect binding
Product: Mesa
Version: 17.3
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/radeon
Assignee: mesa-dev@lists.freedesktop.org
Reporter: philip.rebo...@tu-dortmund.de
QA Contact: mesa-dev@lists.freedesktop.org
Created attachment 136813
--> https://bugs.freedesktop.org/attachment.cgi?id=136813&action=edit
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev