On Wed, Jun 13, 2018 at 8:31 PM, Matteo Bruni matteo.mystral@gmail.com wrote:
2018-06-13 12:24 GMT+02:00 Józef Kucia jkucia@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).a... 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).a...). 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.