From 24107ce4cecc0cfbfcd25cc708ec5788e180cd06 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 14 Aug 2019 11:03:58 +0100 Subject: [PATCH] Don't require depthClamp in vulkan tests unnecessarily --- util/test/demos/vk/vk_helpers.cpp | 2 +- util/test/demos/vk/vk_test.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/util/test/demos/vk/vk_helpers.cpp b/util/test/demos/vk/vk_helpers.cpp index b1119864c..9786ec3c2 100644 --- a/util/test/demos/vk/vk_helpers.cpp +++ b/util/test/demos/vk/vk_helpers.cpp @@ -155,7 +155,7 @@ GraphicsPipelineCreateInfo::GraphicsPipelineCreateInfo() rasterizationState = VkPipelineRasterizationStateCreateInfo(); rasterizationState.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; - rasterizationState.depthClampEnable = VK_TRUE; + rasterizationState.depthClampEnable = VK_FALSE; rasterizationState.polygonMode = VK_POLYGON_MODE_FILL; rasterizationState.cullMode = VK_CULL_MODE_NONE; rasterizationState.frontFace = VK_FRONT_FACE_CLOCKWISE; diff --git a/util/test/demos/vk/vk_test.cpp b/util/test/demos/vk/vk_test.cpp index 294133d45..1349bbecf 100644 --- a/util/test/demos/vk/vk_test.cpp +++ b/util/test/demos/vk/vk_test.cpp @@ -56,7 +56,6 @@ static VkBool32 VKAPI_PTR vulkanCallback(VkDebugUtilsMessageSeverityFlagBitsEXT VulkanGraphicsTest::VulkanGraphicsTest() { - features.depthClamp = true; } namespace