The graphics pipeline is using two vertex input attributes: position and color.
The vertex binding stride was incorrectly set to only the size of position,
rather than the size of position and color.
Components: Vulkan
VK-GL-CTS issue: 1851
Affects:
dEQP-VK.rasterization.primitive_size.points.*
Change-Id: I9a55386652788672c94547938933b4969407ac86
const VkVertexInputBindingDescription vertexInputBindingDescription =
{
- 0u, // deUint32 binding;
- sizeof(tcu::Vec4), // deUint32 strideInBytes;
- VK_VERTEX_INPUT_RATE_VERTEX // VkVertexInputStepRate stepRate;
+ 0u, // deUint32 binding;
+ (deUint32)(2 * sizeof(tcu::Vec4)), // deUint32 strideInBytes;
+ VK_VERTEX_INPUT_RATE_VERTEX // VkVertexInputStepRate stepRate;
};
const VkVertexInputAttributeDescription vertexInputAttributeDescriptions[2] =