Skip to content

Workaround undefined behavior in bad dual source blend states

Unmerged OG Ryujinx PR (#7194). From Issac Marovitz:

On RADV cards, if the pass uses dual source blend but the fragment color output at index 1 is not defined in the shader, the resulting draw will break. This ensures that the output at index 1 is initialised with a default value of (0, 0, 0, 0). This should resolve occasional post process failures on RADV cards in The Legend of Zelda: Skyward Sword HD.

TODO:

  • Always create a second frag color output on SPIRV if dual source is enabled

Merge request reports

Loading