From 91ff6d68e173df0b20fb3fc458bd32d28de0e2f7 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 22 Aug 2022 01:52:31 +0200 Subject: [PATCH] [d3d11] Expose support for tiled resources --- src/d3d11/d3d11_device.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index efa63019d..314d3b2e3 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -1658,8 +1658,8 @@ namespace dxvk { // Min/Max filtering requires Tiled Resources Tier 2 for some reason, // so we cannot support it even though Vulkan exposes this feature - info->TiledResourcesTier = D3D11_TILED_RESOURCES_NOT_SUPPORTED; - info->MinMaxFiltering = FALSE; + info->TiledResourcesTier = m_tiledResourcesTier; + info->MinMaxFiltering = m_tiledResourcesTier >= D3D11_TILED_RESOURCES_TIER_2; info->ClearViewAlsoSupportsDepthOnlyFormats = TRUE; info->MapOnDefaultBuffers = TRUE; } return S_OK; @@ -1707,7 +1707,7 @@ namespace dxvk { info->ROVsSupported = FALSE; info->ConservativeRasterizationTier = D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED; info->MapOnDefaultTextures = TRUE; - info->TiledResourcesTier = D3D11_TILED_RESOURCES_NOT_SUPPORTED; + info->TiledResourcesTier = m_tiledResourcesTier; info->StandardSwizzle = FALSE; info->UnifiedMemoryArchitecture = m_dxvkDevice->isUnifiedMemoryArchitecture();