From: Igor Ostrowski Date: Mon, 9 Oct 2017 14:41:31 +0000 (+0200) Subject: DrawUtil: Fix depthBounds check X-Git-Tag: upstream/0.1.0~9^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0b59025694fd9cecfa19037689b5ad5500e08e4;p=platform%2Fupstream%2FVK-GL-CTS.git DrawUtil: Fix depthBounds check Affects: dEQP-VK.glsl.builtin_var.fragdepth* Components: Vulkan VK-GL-CTS issue: 758 Change-Id: I4da79b236921e64f11566fe386b144497249123b --- diff --git a/external/vulkancts/modules/vulkan/vktDrawUtil.cpp b/external/vulkancts/modules/vulkan/vktDrawUtil.cpp index 2325f54..17f5714 100644 --- a/external/vulkancts/modules/vulkan/vktDrawUtil.cpp +++ b/external/vulkancts/modules/vulkan/vktDrawUtil.cpp @@ -654,7 +654,7 @@ VulkanDrawContext::VulkanDrawContext ( Context& context, 0u, // write mask 0u); // reference - if (m_drawState.depthBoundsTestEnable && context.getDeviceFeatures().depthBounds) + if (m_drawState.depthBoundsTestEnable && !context.getDeviceFeatures().depthBounds) TCU_THROW(NotSupportedError, "depthBounds not supported"); const VkPipelineDepthStencilStateCreateInfo pipelineDepthStencilStateInfo =