Request proper features in spirv_asembly tests
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Thu, 8 Mar 2018 13:12:15 +0000 (14:12 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 30 Mar 2018 16:27:29 +0000 (12:27 -0400)
commit77233e4d68244fa8ccc73618731af27fe96094b4
treeaae2486ff6de97b5f8b0ecb0fd4917c724289c54
parentf774a8cd7744fb374b51346a036a16baf084241a
Request proper features in spirv_asembly tests

image_sampler and ubo_padding tests used stores to SSBOs without
requesting proper features. In this change implementation of
ShaderTestUtil was modified to enable possibility to create test
for individual stages. Now proper features could be requested
before performing the tests for specified stages.

Components: Vulkan

VK-GL-CTS issue: 1049

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.image_sampler.*
dEQP-VK.spirv_assembly.instruction.graphics.ubo_padding.*
dEQP-VK.spirv_assembly.instruction.graphics.*

Change-Id: I03441b385097340faa72b18e17f09a07eba49efb
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.hpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmImageSamplerTests.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmUboMatrixPaddingTests.cpp