Project

General

Profile

Actions

Emulator Issues #9463

closed

Build 4.0-9158 breaks OGL shaders (MSAA) on AMD hardware

Added by Helios about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

User tested Fire Emblem: Path of Radiance

Game ID? (right click the game in the game list, properties, info tab)

GFEE01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

4098af6d672eeae8749f9da67309c537

What's the problem? Describe what went wrong.

Forum user reports shader compilation errors

https://forums.dolphin-emu.org/Thread-failed-to-compile-vertex-shader-error-in-opengl

What steps will reproduce the problem?

  1. Have AMD hardware (User has R9 280)

  2. Download build 4.0-9158

  3. Run the NTSC version of Fire Emblem: Path of Radiance (I suspect this will happen in most games anyways)

  4. Hit shader compilation error.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

4.0-9158 breaks it. Thanks OS X.

What are your PC specifications? (CPU, GPU, Operating System, more)

User reports the following

Win 10
AMD FX 6350
AMD R9 280

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

I've attached the output the user gave in the forum post


Files

errors.txt (2.69 KB) errors.txt Helios, 03/29/2016 01:35 AM
bad_ps_0001.txt (3.7 KB) bad_ps_0001.txt Helios, 03/29/2016 03:24 AM
Actions #1

Updated by Helios about 8 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Helios about 8 years ago

  • Status changed from Accepted to Questionable

Stenzek: hrm, according to the GLSL spec, you're allowed to specify a qualifier on a member declaration in an interface block
Stenzek: so we're not doing anything wrong.. AMD's driver is just being silly

This will need more testing and confirmation.

Actions #3

Updated by Helios about 8 years ago

Turning off MSAA fixes this bug.

attached shader code.

Can we work around this without breaking OS X again? (aka implement moar hacks?)

Actions #4

Updated by Helios about 8 years ago

  • Subject changed from Build 4.0-9158 breaks OGL shaders on AMD hardware to Build 4.0-9158 breaks OGL shaders (MSAA) on AMD hardware
Actions #5

Updated by Helios about 8 years ago

  • Status changed from Questionable to Fix pending
Actions #6

Updated by JosJuice about 8 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF