1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[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.
This commit is contained in:
Philip Rebohle 2019-09-16 02:28:18 +02:00
parent 51ff65fbc5
commit 7fae4a41e8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1866,7 +1866,9 @@ namespace dxvk {
D3D_FEATURE_LEVEL D3D11Device::GetMaxFeatureLevel(const Rc<DxvkAdapter>& Adapter) {
static const std::array<std::pair<std::string, D3D_FEATURE_LEVEL>, 7> s_featureLevels = {{
static const std::array<std::pair<std::string, D3D_FEATURE_LEVEL>, 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 },