Re: [Mesa-dev] [PATCH v2] radv: Disable primitive restart for non-indexed draws

2017-04-12 Thread Bas Nieuwenhuizen
Thanks. Pushed. On Wed, Apr 12, 2017 at 10:20 AM, Alex Smith wrote: > According to the Vulkan spec, VkPipelineInputAssemblyStateCreateInfo's > primitiveRestartEnable flag should only apply to indexed draws, however > it was being enabled regardless of the type of draw. This could cause > problems

[Mesa-dev] [PATCH v2] radv: Disable primitive restart for non-indexed draws

2017-04-12 Thread Alex Smith
According to the Vulkan spec, VkPipelineInputAssemblyStateCreateInfo's primitiveRestartEnable flag should only apply to indexed draws, however it was being enabled regardless of the type of draw. This could cause problems for non-indexed draws with >=65535 vertices if the previous indexed draw used