- add missing vulkan used features

This commit is contained in:
Magnus Norddahl 2019-03-04 13:28:29 +01:00
parent 802d37f377
commit 9861642fcc

View file

@ -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;