d3d11: Implement D3D11_FEATURE_D3D11_OPTIONS2.
This commit is contained in:
parent
4d2d6666db
commit
a586fd080d
1 changed files with 20 additions and 0 deletions
|
@ -4162,6 +4162,26 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFeatureSupport(ID3D11Device2
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
case D3D11_FEATURE_D3D11_OPTIONS2:
|
||||
{
|
||||
D3D11_FEATURE_DATA_D3D11_OPTIONS2 *options = feature_support_data;
|
||||
if (feature_support_data_size != sizeof(*options))
|
||||
{
|
||||
WARN("Invalid data size.\n");
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
|
||||
options->PSSpecifiedStencilRefSupported = FALSE;
|
||||
options->TypedUAVLoadAdditionalFormats = FALSE;
|
||||
options->ROVsSupported = FALSE;
|
||||
options->ConservativeRasterizationTier = D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED;
|
||||
options->TiledResourcesTier = D3D11_TILED_RESOURCES_NOT_SUPPORTED;
|
||||
options->MapOnDefaultTextures = FALSE;
|
||||
options->StandardSwizzle = FALSE;
|
||||
options->UnifiedMemoryArchitecture = FALSE;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
case D3D11_FEATURE_D3D11_OPTIONS3:
|
||||
{
|
||||
D3D11_FEATURE_DATA_D3D11_OPTIONS3 *options = feature_support_data;
|
||||
|
|
Loading…
Add table
Reference in a new issue