[Bug 44345] New: NieR: Automata - Map mode too dark due to cube map binding issues

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 11 06:26:28 CST 2018


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

            Bug ID: 44345
           Summary: NieR:Automata - Map mode too dark due to cube map
                    binding issues
           Product: Wine-staging
           Version: 2.21
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: philip.rebohle at tu-dortmund.de
                CC: erich.e.hoover at wine-staging.com, michael at fds-team.de,
                    sebastian at fds-team.de
      Distribution: ---

There is a minor visual issue with the map appearing too dark when accessed
through the UI's "Map Mode" option, see the attached screenshots.

The reason why this happens is that the game binds a
D3D11_SRV_DIMENSION_TEXTURECUBE view to a slot which expects the view dimension
to be D3D11_SRV_DIMENSION_TEXTURECUBEARRAY. D3D11 drivers on Windows seem to
accept this behaviour and use the cube map nonetheless.

I came across the exact same issue while working on a Vulkan-based D3D11
implementation, and came up with a workaround which always creates a cube map
array view even when the D3D11 application requests a non-array cube map, and
also changes the shader code to always use cube arrays. Maybe Wine can
implement a similar strategy to fix this issue.

My GPU is an AMD RX 480, Mesa 17.3.2, on wine-staging 2.21.

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