Fix BGRA on OpenGL backend

This commit is contained in:
gdk 2021-11-15 14:32:03 -03:00 committed by riperiperi
parent 5fbfa9a9bd
commit ae783c5b5e

View file

@ -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);