mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 17:10:19 +00:00
Fix BGRA on OpenGL backend
This commit is contained in:
parent
5fbfa9a9bd
commit
ae783c5b5e
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,8 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||||
}
|
}
|
||||||
else if (Config.Stage == ShaderStage.Fragment)
|
else if (Config.Stage == ShaderStage.Fragment)
|
||||||
{
|
{
|
||||||
|
bool supportsBgra = Config.Options.TargetApi == TargetApi.Vulkan;
|
||||||
|
|
||||||
if (Config.OmapDepth)
|
if (Config.OmapDepth)
|
||||||
{
|
{
|
||||||
Operand dest = Attribute(AttributeConsts.FragmentOutputDepth);
|
Operand dest = Attribute(AttributeConsts.FragmentOutputDepth);
|
||||||
|
|
Loading…
Reference in a new issue