Don't subtract 3 from buffer pointer for VK_FORMAT_A2B10G10R10_UNORM_PACK32
alpha channel because this format is a deUint32 instead of Vec4.
Affects: dEQP-VK.robustness.vertex_access.a2b10g10r10_unorm_pack32.*
Components: Vulkan
VK-GL-CTS issue: 946
Change-Id: I2a5241191e01252ce071658b8dbd79d3e424aa41
if (canMatchVec4Pattern)
{
if (m_inputFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32)
- matchesVec4Pattern = verifyOutOfBoundsVec4(outValuePtr - 3, VK_FORMAT_R32G32B32_SFLOAT);
+ matchesVec4Pattern = verifyOutOfBoundsVec4(outValuePtr, m_inputFormat);
else
matchesVec4Pattern = verifyOutOfBoundsVec4(outValuePtr - 3, m_inputFormat);
}