mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
EFB2Tex: Set alpha channel of Z24X8 copies to 1
Matches EFB2RAM.
This commit is contained in:
parent
5d66377310
commit
f269c4c798
@ -190,7 +190,7 @@ ShaderCode GeneratePixelShader(APIType api_type, const UidData* uid_data)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case EFBCopyFormat::RGBA8: // Z24X8
|
case EFBCopyFormat::RGBA8: // Z24X8
|
||||||
out.Write(" ocol0 = float4(texcol.rgb, 0.0);\n");
|
out.Write(" ocol0 = float4(texcol.rgb, 1.0);\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EFBCopyFormat::G8: // Z8M
|
case EFBCopyFormat::G8: // Z8M
|
||||||
|
Loading…
x
Reference in New Issue
Block a user