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:
parent
c852b6de34
commit
3e17ccfaaa
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user