[PATCH 1/2] d3d11: Add support for D3D11_FEATURE_D3D11_OPTIONS1 in CheckFeatureSupport
Henri Verbeet
hverbeet at gmail.com
Fri Apr 6 08:10:21 CDT 2018
On 6 April 2018 at 07:38, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
> + case D3D11_FEATURE_D3D11_OPTIONS1:
> + {
> + D3D11_FEATURE_DATA_D3D11_OPTIONS1 *options = feature_support_data;
> + if (feature_support_data_size != sizeof(*options))
> + {
> + WARN("Invalid data size.\n");
> + return E_INVALIDARG;
> + }
> + options->TiledResourcesTier = D3D11_TILED_RESOURCES_NOT_SUPPORTED;
> + options->MinMaxFiltering = FALSE;
> + options->ClearViewAlsoSupportsDepthOnlyFormats = FALSE;
> + options->MapOnDefaultBuffers = FALSE;
> + return S_OK;
> + }
> +
I think ideally we'd get this kind of information from wined3d, but if
we're going to hardcode something, I think there should at least be a
FIXME.
More information about the wine-devel
mailing list