[PATCH 6/6] dxgi: Get supported feature levels from wined3d caps.

Józef Kucia joseph.kucia at gmail.com
Wed Jun 13 15:46:58 CDT 2018


On Wed, Jun 13, 2018 at 8:31 PM, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> 2018-06-13 12:24 GMT+02:00 Józef Kucia <jkucia at codeweavers.com>:
>
>> On a side note, handling of feature levels 9_x appears to be incorrect
>> (AFAIK feature levels 9_x always use SM2 shaders).
>
> True, but it's complicated...
> Looking around https://msdn.microsoft.com/en-us/library/windows/desktop/ff476876(v=vs.85).aspx
> you can see that feature level 9_3 e.g. mandates support for max
> texture size >= 4096, which is only guaranteed by SM3-level hardware
> (https://msdn.microsoft.com/en-us/library/windows/desktop/bb219845(v=vs.85).aspx).
> IIRC there were a few of those, which is why I decided to require SM3
> for 9_3 even though the shaders themselves are going to be SM2 only.
>

Right, feature level checks should not be based solely on shader model versions.



More information about the wine-devel mailing list