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

Matteo Bruni matteo.mystral at gmail.com
Wed Jun 13 13:31:11 CDT 2018


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.



More information about the wine-devel mailing list