mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[host] d12: limit the dx11 interop level to one version
This commit is contained in:
parent
8c5d1d47ee
commit
8d25469d27
1 changed files with 4 additions and 9 deletions
|
@ -133,17 +133,10 @@ static bool d12_dd_init(
|
|||
goto exit;
|
||||
}
|
||||
|
||||
// only 11.1 supports DX12 interoperability
|
||||
static const D3D_FEATURE_LEVEL featureLevels[] =
|
||||
{
|
||||
D3D_FEATURE_LEVEL_12_1,
|
||||
D3D_FEATURE_LEVEL_12_0,
|
||||
D3D_FEATURE_LEVEL_11_1,
|
||||
D3D_FEATURE_LEVEL_11_0,
|
||||
D3D_FEATURE_LEVEL_10_1,
|
||||
D3D_FEATURE_LEVEL_10_0,
|
||||
D3D_FEATURE_LEVEL_9_3,
|
||||
D3D_FEATURE_LEVEL_9_2,
|
||||
D3D_FEATURE_LEVEL_9_1
|
||||
D3D_FEATURE_LEVEL_11_1
|
||||
};
|
||||
D3D_FEATURE_LEVEL featureLevel;
|
||||
|
||||
|
@ -169,6 +162,8 @@ static bool d12_dd_init(
|
|||
goto exit;
|
||||
}
|
||||
|
||||
DEBUG_INFO("Feature Level : 0x%x", featureLevel);
|
||||
|
||||
// get the updated interfaces
|
||||
comRef_defineLocal(ID3D11DeviceContext4, d11context4);
|
||||
hr = ID3D11DeviceContext_QueryInterface(
|
||||
|
|
Loading…
Reference in a new issue