From 7fae4a41e8508a689ed932793da3e6a27c3ffb1c Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 16 Sep 2019 02:28:18 +0200 Subject: [PATCH] [d3d11] Add definitions for feature levels 12_0 and 12_1 Mostly useful for debugging as we're not going to support these feature levels for now. --- src/d3d11/d3d11_device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index cd96dc33a..e87c46124 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -1866,7 +1866,9 @@ namespace dxvk { D3D_FEATURE_LEVEL D3D11Device::GetMaxFeatureLevel(const Rc& Adapter) { - static const std::array, 7> s_featureLevels = {{ + static const std::array, 9> s_featureLevels = {{ + { "12_1", D3D_FEATURE_LEVEL_12_1 }, + { "12_0", D3D_FEATURE_LEVEL_12_0 }, { "11_1", D3D_FEATURE_LEVEL_11_1 }, { "11_0", D3D_FEATURE_LEVEL_11_0 }, { "10_1", D3D_FEATURE_LEVEL_10_1 },