[PATCH 1/2] dxgi: Partially implement dxgi_adapter_CheckInterfaceSupport().

Henri Verbeet hverbeet at gmail.com
Mon Oct 12 11:15:40 CDT 2015

On 12 October 2015 at 17:37, Józef Kucia <joseph.kucia at gmail.com> wrote:
> On Mon, Oct 12, 2015 at 12:16 PM, Henri Verbeet <hverbeet at gmail.com> wrote:
>>> +    FIXME("Determine actual capabilities of adapter.\n");
>> Do you know what this does for hardware that doesn't support
>> Direct3D10? Getting the capabilities isn't that hard, we already do
>> that in dxgi_device_init(). (The wined3d_get_device_caps() call in
>> particular.)
> A simple check based on the supported shader version is indeed easy.
> However, implementing a proper feature level detection requires more
> work. I expect that determining which D3D10_FEATURE_LEVEL_9_* we can
> support on a given hardware will be more involved. Would you accept a
> restrictive implementation which returns S_OK just for hardware that
> supports D3D10?

Sure. At this point I think we mainly care that it's consistent with
As far as dxgi is concerned though, I think it's mostly a matter of
making the result of d3d_level_from_caps() from wined3d/directx.c
available somewhere. Perhaps as a separate call, perhaps just as part
of the wined3d_caps structure.

More information about the wine-devel mailing list