12 Oct
2015
12 Oct
'15
3:37 p.m.
On Mon, Oct 12, 2015 at 12:16 PM, Henri Verbeet <hverbeet(a)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?