Don't ask for depthClamp device feature

It is not used at all (VkPipelineRasterizationStateCreateInfo at
RenderProgs_VK.cpp sets it to false), so not asking for it would make
possible to support more drivers (for example, v3dv for the rpi4
doesn't support it).
This commit is contained in:
Alejandro Piñeiro 2021-02-09 12:57:57 +01:00
parent a0f107ec4a
commit 8d9c71763d

View file

@ -714,7 +714,7 @@ static void CreateLogicalDeviceAndQueues()
VkPhysicalDeviceFeatures deviceFeatures = {};
deviceFeatures.textureCompressionBC = VK_TRUE;
deviceFeatures.imageCubeArray = VK_TRUE;
deviceFeatures.depthClamp = VK_TRUE;
deviceFeatures.depthClamp = VK_FALSE;
deviceFeatures.depthBiasClamp = VK_TRUE;
deviceFeatures.depthBounds = vkcontext.physicalDeviceFeatures.depthBounds;
deviceFeatures.fillModeNonSolid = VK_TRUE;