[Mesa-dev] [Bug 104677] radv_generate_graphics_pipeline_key reads input rate from incorrect binding
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 17 19:56:28 UTC 2018
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 at lists.freedesktop.org
Reporter: philip.rebohle at tu-dortmund.de
QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180117/8201ae07/attachment-0001.html>
More information about the mesa-dev
mailing list