mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[dxvk] Always enable depth clip feature if supported
This commit is contained in:
parent
a6ede3e0c2
commit
859de7e828
@ -1908,8 +1908,6 @@ namespace dxvk {
|
||||
enabled.extCustomBorderColor.customBorderColors = supported.extCustomBorderColor.customBorderColorWithoutFormat;
|
||||
enabled.extCustomBorderColor.customBorderColorWithoutFormat = supported.extCustomBorderColor.customBorderColorWithoutFormat;
|
||||
|
||||
enabled.extDepthClipEnable.depthClipEnable = supported.extDepthClipEnable.depthClipEnable;
|
||||
|
||||
enabled.extTransformFeedback.transformFeedback = VK_TRUE;
|
||||
enabled.extTransformFeedback.geometryStreams = VK_TRUE;
|
||||
|
||||
|
@ -3951,8 +3951,6 @@ namespace dxvk {
|
||||
// Ensure we support real BC formats and unofficial vendor ones.
|
||||
enabled.core.features.textureCompressionBC = VK_TRUE;
|
||||
|
||||
enabled.extDepthClipEnable.depthClipEnable = supported.extDepthClipEnable.depthClipEnable;
|
||||
|
||||
// SM2 level hardware
|
||||
enabled.core.features.occlusionQueryPrecise = VK_TRUE;
|
||||
|
||||
|
@ -429,6 +429,10 @@ namespace dxvk {
|
||||
enabledFeatures.vk13.synchronization2 = VK_TRUE;
|
||||
enabledFeatures.vk13.dynamicRendering = VK_TRUE;
|
||||
|
||||
// We expose depth clip rather than depth clamp to client APIs
|
||||
enabledFeatures.extDepthClipEnable.depthClipEnable =
|
||||
m_deviceFeatures.extDepthClipEnable.depthClipEnable;
|
||||
|
||||
// Used for both pNext shader module info, and fast-linking pipelines provided
|
||||
// that graphicsPipelineLibraryIndependentInterpolationDecoration is supported
|
||||
enabledFeatures.extGraphicsPipelineLibrary.graphicsPipelineLibrary =
|
||||
|
Loading…
Reference in New Issue
Block a user