diff --git a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs index d99389727..0ddeadf0e 100644 --- a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs +++ b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs @@ -234,6 +234,8 @@ namespace Ryujinx.Graphics.Shader.Translation } else if (Config.Stage == ShaderStage.Fragment) { + bool supportsBgra = Config.Options.TargetApi == TargetApi.Vulkan; + if (Config.OmapDepth) { Operand dest = Attribute(AttributeConsts.FragmentOutputDepth);