[Bug 43273] The Witcher 3 freezes the system in a certain area of the game

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 28 10:04:54 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43273

--- Comment #48 from Michael Müller <michael at fds-team.de> ---
I have already prepared a patch for Staging, but I didn't add it yet because it
can cause problems when the application sets a pixel shader. The code basically
changes the output to match the stream output buffer format instead of the next
shader stage (i.e. pixel shader) when rasterization is disabled. This is
theoretically not a problem, because the pixel shader is never invoked in such
a case and the output is therefore only relevant for the stream buffer.

The problem is that the OpenGL driver is not aware that the pixel shader is
never going to be used when linking the program. It will therefore complain
about the interface mismatch between the geometry shader output and the pixel
shader input. The binary NVIDIA driver doesn't care about this at all, but at
least on Intel I got a program link error. I didn't have time to do a full Wine
build on this old machine, but reproduced it using a small sample program.
Maybe I am overlooking something, but I couldn't see any code path that
explicitly disables pixel shaders.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list