mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d11] Expose implemented Feature Level 11.1 features
This commit is contained in:
parent
894444d43d
commit
6550e8d623
@ -1397,24 +1397,23 @@ namespace dxvk {
|
|||||||
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_D3D11_OPTIONS))
|
if (FeatureSupportDataSize != sizeof(D3D11_FEATURE_DATA_D3D11_OPTIONS))
|
||||||
return E_INVALIDARG;
|
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
|
||||||
auto info = static_cast<D3D11_FEATURE_DATA_D3D11_OPTIONS*>(pFeatureSupportData);
|
auto info = static_cast<D3D11_FEATURE_DATA_D3D11_OPTIONS*>(pFeatureSupportData);
|
||||||
|
info->OutputMergerLogicOp = m_featureLevel >= D3D_FEATURE_LEVEL_10_0;
|
||||||
/*TODO: implement and enable*/
|
info->UAVOnlyRenderingForcedSampleCount = FALSE;
|
||||||
/*https://msdn.microsoft.com/en-us/library/windows/desktop/hh404457(v=vs.85).aspx */
|
info->DiscardAPIsSeenByDriver = FALSE;
|
||||||
info->OutputMergerLogicOp = false;
|
info->FlagsForUpdateAndCopySeenByDriver = FALSE;
|
||||||
info->UAVOnlyRenderingForcedSampleCount = false;
|
info->ClearView = FALSE;
|
||||||
info->DiscardAPIsSeenByDriver = false;
|
info->CopyWithOverlap = FALSE;
|
||||||
info->FlagsForUpdateAndCopySeenByDriver = false;
|
info->ConstantBufferPartialUpdate = TRUE;
|
||||||
info->ClearView = false;
|
info->ConstantBufferOffsetting = TRUE;
|
||||||
info->CopyWithOverlap = false;
|
info->MapNoOverwriteOnDynamicConstantBuffer = TRUE;
|
||||||
info->ConstantBufferPartialUpdate = false;
|
info->MapNoOverwriteOnDynamicBufferSRV = TRUE;
|
||||||
info->ConstantBufferOffsetting = false;
|
info->MultisampleRTVWithForcedSampleCountOne = FALSE;
|
||||||
info->MapNoOverwriteOnDynamicConstantBuffer = false;
|
info->SAD4ShaderInstructions = FALSE;
|
||||||
info->MapNoOverwriteOnDynamicBufferSRV = false;
|
info->ExtendedDoublesShaderInstructions = FALSE;
|
||||||
info->MultisampleRTVWithForcedSampleCountOne = false;
|
info->ExtendedResourceSharing = FALSE;
|
||||||
info->SAD4ShaderInstructions = false;
|
|
||||||
info->ExtendedDoublesShaderInstructions = false;
|
|
||||||
info->ExtendedResourceSharing = false;
|
|
||||||
} return S_OK;
|
} return S_OK;
|
||||||
|
|
||||||
case D3D11_FEATURE_ARCHITECTURE_INFO: {
|
case D3D11_FEATURE_ARCHITECTURE_INFO: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user