Correct vertex input tests on null driver
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Thu, 25 Oct 2018 14:50:20 +0000 (16:50 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 1 Nov 2018 09:49:29 +0000 (05:49 -0400)
commit087a17d48fa667b3e7e4dcfd8871bcfc2764e359
tree99c96315377353f5c0c65e66e1df93b0b2342f3e
parent252d81099f8c4eabf12e5dc8be2a4c7bcfc155c9
Correct vertex input tests on null driver

On Null driver all features are enabled and this triggered execution
of tests for 128 vertex attributes that are not commonly supported.
Tests allocate buffer for verification which is not big enough for
128 attributes. This causes memory corruption and crash.
This change resolves those issues.

Components: Vulkan

VK-GL-CTS issue: 1443

Affects:
dEQP-VK.pipeline.vertex_input.*

Change-Id: I9a89cc62fdd34f9da40ebf9d84e6cf5b5aed07d5
external/vulkancts/modules/vulkan/pipeline/vktPipelineVertexInputTests.cpp