Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D
authorMarcin Kańtoch <marcin.kantoch@amd.com>
Tue, 28 Mar 2017 13:06:59 +0000 (15:06 +0200)
committerPyry Haulos <phaulos@google.com>
Fri, 31 Mar 2017 16:34:13 +0000 (12:34 -0400)
commit5d57f6180572b29bdf17869040851b6875d124c6
treeda5671a10e20da8f1a82823b596b1deeed5511cd
parent5bb1ce041654d29976e4f06bfe03598026f064af
Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D

Vulkan spec change https://gitlab.khronos.org/vulkan/vulkan/issues/719
made it mandatory to support depth/stencil formats only for
image type VK_IMAGE_TYPE_2D. For VK_IMAGE_TYPE_1D and VK_IMAGE_TYPE_3D
this support is optional.

Made changes to isRequiredImageParameterCombination()

Tests affected: dEQP-VK.api.info.image_format_properties.*

Change-Id: I9df990ced2e0a735078897324211c6b2a3923f2e
external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp