Fix - checkSparseSupport missing image format check
authorMarcin Kańtoch <marcin.kantoch@amd.com>
Tue, 11 Apr 2017 09:25:20 +0000 (11:25 +0200)
committerPyry Haulos <phaulos@google.com>
Wed, 3 May 2017 18:11:03 +0000 (11:11 -0700)
commit2fe94dcfdd7717b349bdfec56183e303ab52f2bb
tree49e437adf6bd81c80f13794a030ccdd5ff3059a2
parenta673a07395b3b546649bb0c3d5b6a9b8b3f4c43c
Fix - checkSparseSupport missing image format check

checkSparseSupport does not check if sparse operations are supported
for image format for example for depth/stencil formats.
This fix extends checkSparseSupport with this additional check.

Affected tests:
dEQP-VK.glsl.texture_functions.textureoffset.sparse_sampler2darrayshadow_vertex
dEQP-VK.glsl.texture_functions.textureoffset.sparse_sampler2darrayshadow_fragment

Change-Id: Ib4ca34ede1b5efd382ed6491b88e10baac173895
external/vulkancts/modules/vulkan/shaderrender/vktShaderRender.cpp
external/vulkancts/modules/vulkan/shaderrender/vktShaderRender.hpp