mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 18:50:20 +00:00
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:
parent
a0f107ec4a
commit
8d9c71763d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue