1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-21 22:54:16 +01:00

[d3d11] Do not report Tiled Resources Tier 3

Neither Nvidia nor AMD drivers report Tier 3 support on Windows,
so this is likely a D3D11 runtime limitation, even though the
API could technically support it.
This commit is contained in:
Philip Rebohle 2022-09-05 07:37:57 +02:00
parent b12e4fc59f
commit df5756c9a5

View File

@ -231,11 +231,7 @@ namespace dxvk {
|| m_properties.core.properties.sparseProperties.residencyAlignedMipSize) || m_properties.core.properties.sparseProperties.residencyAlignedMipSize)
return D3D11_TILED_RESOURCES_TIER_1; return D3D11_TILED_RESOURCES_TIER_1;
if (!m_features.core.features.sparseResidencyImage3D return D3D11_TILED_RESOURCES_TIER_2;
|| !m_properties.core.properties.sparseProperties.residencyStandard3DBlockShape)
return D3D11_TILED_RESOURCES_TIER_2;
return D3D11_TILED_RESOURCES_TIER_3;
} }