On Mon Apr 17 19:36:09 2023 +0000, Stefan Dösinger wrote:
Thanks for the explanation, that makes it easier to follow what's going on. I got distracted by updating my hacky visual studio build setup to work with current Wine code, so I didn't test this on my hardware yet. What game is broken by this? I guess we'll have to fix our shaders too, and are probably out of luck on HW with only fixed function opengl (not that we care particularly much these days any more). (Plus, when a future Windows version / GPU / driver breaks the test it helps to have a comment explaining why the correct behavior matters)
There is problem with fog in game "Sea Dogs: To Each His Own", but fog looks good in Wine, but not in Gallium Nine. So this test was created to make sure that booth Gallium Nine and Wine fog works the same as in Windows. more.
More info, screen and traces about Nine bug is here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8341