mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[d3d11] Enable ROV support if corresponding Vulkan features are supported
This commit is contained in:
parent
35a84053b5
commit
a14ce8d1b0
@ -1940,6 +1940,10 @@ namespace dxvk {
|
||||
enabled.core.features.shaderResourceMinLod = supported.core.features.shaderResourceMinLod;
|
||||
enabled.vk12.samplerFilterMinmax = supported.vk12.samplerFilterMinmax;
|
||||
|
||||
// Required for Feature Level 12_1
|
||||
enabled.extFragmentShaderInterlock.fragmentShaderSampleInterlock = supported.extFragmentShaderInterlock.fragmentShaderSampleInterlock;
|
||||
enabled.extFragmentShaderInterlock.fragmentShaderPixelInterlock = supported.extFragmentShaderInterlock.fragmentShaderPixelInterlock;
|
||||
|
||||
// Optional in any feature level
|
||||
enabled.core.features.depthBounds = supported.core.features.depthBounds;
|
||||
enabled.core.features.shaderFloat64 = supported.core.features.shaderFloat64;
|
||||
|
@ -81,7 +81,7 @@ namespace dxvk {
|
||||
m_d3d11Options2.MapOnDefaultTextures = TRUE;
|
||||
|
||||
if (FeatureLevel >= D3D_FEATURE_LEVEL_11_1) {
|
||||
m_d3d11Options2.ROVsSupported = FALSE;
|
||||
m_d3d11Options2.ROVsSupported = m_features.extFragmentShaderInterlock.fragmentShaderPixelInterlock;
|
||||
m_d3d11Options2.PSSpecifiedStencilRefSupported = m_features.extShaderStencilExport;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user