mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d11] Enable custom border color features if available
This commit is contained in:
parent
1fc6e3adbe
commit
00613d1dc7
@ -1915,6 +1915,11 @@ namespace dxvk {
|
||||
enabled.extVertexAttributeDivisor.vertexAttributeInstanceRateDivisor = supported.extVertexAttributeDivisor.vertexAttributeInstanceRateDivisor;
|
||||
enabled.extVertexAttributeDivisor.vertexAttributeInstanceRateZeroDivisor = supported.extVertexAttributeDivisor.vertexAttributeInstanceRateZeroDivisor;
|
||||
|
||||
if (supported.extCustomBorderColor.customBorderColorWithoutFormat) {
|
||||
enabled.extCustomBorderColor.customBorderColors = VK_TRUE;
|
||||
enabled.extCustomBorderColor.customBorderColorWithoutFormat = VK_TRUE;
|
||||
}
|
||||
|
||||
if (featureLevel >= D3D_FEATURE_LEVEL_9_1) {
|
||||
enabled.core.features.depthClamp = VK_TRUE;
|
||||
enabled.core.features.depthBiasClamp = VK_TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user