https://bugs.winehq.org/show_bug.cgi?id=43273
--- Comment #49 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Michael Müller from comment #48)
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.
Yeah, that's the main reason why I called it a hack.