1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[d3d11] Expose Feature Level 11_1

- We don't actually support the ExtendedResourceSharing feature, but
  since we currently don't support resource sharing at all, this makes
  no difference in practice
- Likewise, MultisampleRTVWithForcedSampleCountOne is not really
  supported, as the Vulkan backend will still use the sample count
  of the color attachments, but should have no effect in practice.
- This does not change the fact that Predication and Stream Output
  are still missing.
This commit is contained in:
Philip Rebohle 2018-09-18 16:27:40 +02:00
parent d9009efd22
commit bf5476900a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1143,7 +1143,6 @@ namespace dxvk {
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_D3D11_OPTIONS))
return E_INVALIDARG;
// TODO implement, most of these are required for FL 11.1
// https://msdn.microsoft.com/en-us/library/windows/desktop/hh404457(v=vs.85).aspx
const auto& features = m_dxvkDevice->features();
@ -1161,7 +1160,7 @@ namespace dxvk {
info->MultisampleRTVWithForcedSampleCountOne = TRUE; /* not really */
info->SAD4ShaderInstructions = FALSE;
info->ExtendedDoublesShaderInstructions = TRUE;
info->ExtendedResourceSharing = FALSE;
info->ExtendedResourceSharing = TRUE; /* not really */
} return S_OK;
case D3D11_FEATURE_ARCHITECTURE_INFO: {
@ -1300,7 +1299,6 @@ namespace dxvk {
bool D3D11Device::CheckFeatureLevelSupport(
const Rc<DxvkAdapter>& adapter,
D3D_FEATURE_LEVEL featureLevel) {
// We currently only support 11_0 interfaces
if (featureLevel > GetMaxFeatureLevel(adapter))
return false;
@ -1606,7 +1604,7 @@ namespace dxvk {
return entry != s_featureLevels.end()
? entry->second
: D3D_FEATURE_LEVEL_11_0;
: D3D_FEATURE_LEVEL_11_1;
}
}