1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 01:24:11 +01:00

[d3d11] Implement missing D3D11_FEATURE_D3D9_OPTIONS feature query

This commit is contained in:
Philip Rebohle 2019-09-15 14:03:42 +02:00
parent c852b6de34
commit 3e17ccfaaa
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1273,6 +1273,14 @@ namespace dxvk {
auto info = static_cast<D3D11_FEATURE_DATA_ARCHITECTURE_INFO*>(pFeatureSupportData);
info->TileBasedDeferredRenderer = FALSE;
} return S_OK;
case D3D11_FEATURE_D3D9_OPTIONS: {
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_D3D9_OPTIONS))
return E_INVALIDARG;
auto info = static_cast<D3D11_FEATURE_DATA_D3D9_OPTIONS*>(pFeatureSupportData);
info->FullNonPow2TextureSupport = TRUE;
} return S_OK;
case D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT: {
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT))