mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-17 17:52:11 +01:00
[d3d11] Report Tiled Resources Tier 3 again
Partially reverts df5756c9a52a30f58c7364499a3523385004ec82. Turns out that WARP does this, so we might as well expose it too.
This commit is contained in:
parent
2ec25f588f
commit
0f9a042952
@ -299,7 +299,8 @@ namespace dxvk {
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
if (desc.MiscFlags & D3D11_RESOURCE_MISC_TILED)
|
||||
if ((desc.MiscFlags & D3D11_RESOURCE_MISC_TILED)
|
||||
&& (m_deviceFeatures.GetTiledResourcesTier() < D3D11_TILED_RESOURCES_TIER_3))
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (!ppTexture3D)
|
||||
|
@ -231,7 +231,11 @@ namespace dxvk {
|
||||
|| m_properties.core.properties.sparseProperties.residencyAlignedMipSize)
|
||||
return D3D11_TILED_RESOURCES_TIER_1;
|
||||
|
||||
return D3D11_TILED_RESOURCES_TIER_2;
|
||||
if (!m_features.core.features.sparseResidencyImage3D
|
||||
|| !m_properties.core.properties.sparseProperties.residencyStandard3DBlockShape)
|
||||
return D3D11_TILED_RESOURCES_TIER_2;
|
||||
|
||||
return D3D11_TILED_RESOURCES_TIER_3;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user