[Bug 45976] New: MHO Benchmark fails to compile shader on NVIDIA gpu

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 12 03:44:53 CDT 2018


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 at winehq.org
          Reporter: awesie at 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.

-- 
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