mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 14:52:10 +01:00
[d3d11] Implement D3D11.3 feature queries
This commit is contained in:
parent
aad44458f7
commit
51ff65fbc5
@ -1363,6 +1363,20 @@ namespace dxvk {
|
|||||||
info->TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported = TRUE;
|
info->TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported = TRUE;
|
||||||
} return S_OK;
|
} return S_OK;
|
||||||
|
|
||||||
|
case D3D11_FEATURE_D3D11_OPTIONS2: {
|
||||||
|
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_D3D11_OPTIONS2))
|
||||||
|
return E_INVALIDARG;
|
||||||
|
|
||||||
|
auto info = static_cast<D3D11_FEATURE_DATA_D3D11_OPTIONS2*>(pFeatureSupportData);
|
||||||
|
info->PSSpecifiedStencilRefSupported = FALSE; // TODO
|
||||||
|
info->TypedUAVLoadAdditionalFormats = FALSE; // TODO
|
||||||
|
info->ROVsSupported = FALSE;
|
||||||
|
info->ConservativeRasterizationTier = D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED;
|
||||||
|
info->TiledResourcesTier = D3D11_TILED_RESOURCES_NOT_SUPPORTED;
|
||||||
|
info->StandardSwizzle = FALSE;
|
||||||
|
info->UnifiedMemoryArchitecture = FALSE; // Maybe on some APUs?
|
||||||
|
} return S_OK;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Logger::err(str::format(
|
Logger::err(str::format(
|
||||||
"D3D11Device: CheckFeatureSupport: Unknown feature: ",
|
"D3D11Device: CheckFeatureSupport: Unknown feature: ",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user