On Thu, 9 Dec 2021 at 20:14, Zebediah Figura zfigura@codeweavers.com wrote:
@@ -3833,6 +3833,10 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFormatSupport(ID3D11Device2 * | D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD; }
- if (format == DXGI_FORMAT_R16_UINT
|| (format == DXGI_FORMAT_R32_UINT && feature_level >= D3D_FEATURE_LEVEL_9_2))
*format_support |= D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER;
It seems tempting to introduce something like WINED3DFMT_FLAG_INDEX_TYPE, or at least to support WINED3D_BIND_INDEX_BUFFER in wined3d_check_device_format().