D3D11/ShaderCache: Remove feature level 12 enum usage

It's not used anyway.
This commit is contained in:
Connor McLaughlin 2020-07-09 13:00:43 +10:00
parent 5984f977ca
commit 9685be9064

View file

@ -176,15 +176,6 @@ std::string ShaderCache::GetCacheBaseFileName(const std::string_view& base_path,
case D3D_FEATURE_LEVEL_11_0:
base_filename += "sm50";
break;
case D3D_FEATURE_LEVEL_11_1:
base_filename += "sm51";
break;
case D3D_FEATURE_LEVEL_12_0:
base_filename += "sm60";
break;
case D3D_FEATURE_LEVEL_12_1:
base_filename += "sm61";
break;
default:
base_filename += "unk";
break;
@ -306,4 +297,4 @@ ShaderCache::ComPtr<ID3DBlob> ShaderCache::CompileAndAddShaderBlob(const CacheIn
return blob;
}
} // namespace D3D11
} // namespace D3D11