Unverified Commit 1a6523a8 authored by Igor Demin's avatar Igor Demin Committed by GitHub

Revert "Enable DirectX 12 feature level 11.1" (#1135)

Partially reverts JetBrains/skiko#1117 (except excluding "Intel(R) HD
Graphics 4600")

Fixes
https://youtrack.jetbrains.com/issue/CMP-9352/Compose-doesnt-work-in-Parallels-Windows11-arm64
parent 69a3c9db
...@@ -198,11 +198,10 @@ extern "C" ...@@ -198,11 +198,10 @@ extern "C"
} }
gr_cp<IDXGIAdapter1> adapter((IDXGIAdapter1 *) adapterPtr); gr_cp<IDXGIAdapter1> adapter((IDXGIAdapter1 *) adapterPtr);
D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_11_1; D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_12_0;
D3D_FEATURE_LEVEL featureLevels[] = { D3D_FEATURE_LEVEL featureLevels[] = {
D3D_FEATURE_LEVEL_12_1, D3D_FEATURE_LEVEL_12_1,
D3D_FEATURE_LEVEL_12_0, D3D_FEATURE_LEVEL_12_0
D3D_FEATURE_LEVEL_11_1
}; };
for (int i = 0; i < _countof(featureLevels); i++) { for (int i = 0; i < _countof(featureLevels); i++) {
......
...@@ -312,12 +312,11 @@ extern "C" ...@@ -312,12 +312,11 @@ extern "C"
} }
gr_cp<IDXGIAdapter1> adapter((IDXGIAdapter1 *) adapterPtr); gr_cp<IDXGIAdapter1> adapter((IDXGIAdapter1 *) adapterPtr);
D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_11_1; D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_12_0;
D3D_FEATURE_LEVEL featureLevels[] = { D3D_FEATURE_LEVEL featureLevels[] = {
// TODO add D3D_FEATURE_LEVEL_12_2 // TODO add D3D_FEATURE_LEVEL_12_2
D3D_FEATURE_LEVEL_12_1, D3D_FEATURE_LEVEL_12_1,
D3D_FEATURE_LEVEL_12_0, D3D_FEATURE_LEVEL_12_0
D3D_FEATURE_LEVEL_11_1
}; };
for (int i = 0; i < _countof(featureLevels); i++) { for (int i = 0; i < _countof(featureLevels); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment