Fix fetching geometry in dEQP-VK.renderpass test
authorSlawomir Cygan <slawomir.cygan@intel.com>
Thu, 27 Oct 2016 18:11:15 +0000 (20:11 +0200)
committerPyry Haulos <phaulos@google.com>
Tue, 8 Nov 2016 18:59:31 +0000 (13:59 -0500)
commit6971d4702d10f7b89483a663cb8d9df407b18075
treec34d637e31a71f3d4bfbba0ad085e2d33ac7ad15
parentba9f2bbc4ea70aa17aed1a12d99d34b1f95772de
Fix fetching geometry in dEQP-VK.renderpass test

The renderpass test uses 48 byte vertex buffer for 6x 2-element float
values. At the same time pipeline tries to fetch 4-element atributes,
so the last vertex from buffer is outside of bounds (and may be zeroed).

Affected: All dEQP-VK.renderpass* that have the render geoemtry visible
in tested attachments.

Change-Id: If58e18c4df0ea053aa0a766b2bab381a0648326f
external/vulkancts/modules/vulkan/vktRenderPassTests.cpp