From 9861642fcc7cdd0869c6cc77c13a951167e99819 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Mon, 4 Mar 2019 13:28:29 +0100 Subject: [PATCH] - add missing vulkan used features --- src/rendering/vulkan/system/vk_device.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rendering/vulkan/system/vk_device.cpp b/src/rendering/vulkan/system/vk_device.cpp index d6b7ad800..ecbf68b39 100644 --- a/src/rendering/vulkan/system/vk_device.cpp +++ b/src/rendering/vulkan/system/vk_device.cpp @@ -386,6 +386,8 @@ void VulkanDevice::createDevice() usedDeviceFeatures.samplerAnisotropy = VK_TRUE; usedDeviceFeatures.shaderClipDistance = VK_TRUE; usedDeviceFeatures.fragmentStoresAndAtomics = VK_TRUE; + usedDeviceFeatures.depthClamp = VK_TRUE; + usedDeviceFeatures.shaderClipDistance = VK_TRUE; VkDeviceCreateInfo deviceCreateInfo = {}; deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;