https://bugs.winehq.org/show_bug.cgi?id=45976
Bug ID: 45976 Summary: MHO Benchmark fails to compile shader on NVIDIA gpu Product: Wine Version: 3.17 Hardware: x86-64 URL: https://www.guru3d.com/files-details/monster-hunter-of ficial-benchmark-download.html OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: awesie@gmail.com Distribution: ---
Created attachment 62535 --> https://bugs.winehq.org/attachment.cgi?id=62535 Patch
After switching to a NVIDIA GPU, my test program of choice, Monster Hunter Online Benchmark, started to fail horribly.
The root cause is a shader compilation failure when a tessellation shader uses gl_PrimitiveID. Specifically, on NVIDIA, if the tessellation shader uses gl_PrimitiveID then the packed input/output limits must be 31, instead of 32.
Patch is attached, though it just lowers the limit to 31 instead of basing it on whether gl_PrimitiveID is used or not.
https://bugs.winehq.org/show_bug.cgi?id=45976
--- Comment #1 from Andrew Wesie awesie@gmail.com --- Created attachment 62536 --> https://bugs.winehq.org/attachment.cgi?id=62536 Shader failure log
https://bugs.winehq.org/show_bug.cgi?id=45976
--- Comment #2 from Andrew Wesie awesie@gmail.com --- Created attachment 62537 --> https://bugs.winehq.org/attachment.cgi?id=62537 glxinfo output