mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
TextureConversionShader: Invert depth for Z24 encoder with D3D
This commit is contained in:
parent
bd148e911b
commit
1ce38a136d
@ -557,8 +557,8 @@ static void WriteZ24Encoder(char*& p, API_TYPE ApiType)
|
||||
WRITE(p, " float3 expanded0;\n");
|
||||
WRITE(p, " float3 expanded1;\n");
|
||||
|
||||
WriteSampleColor(p, "r", "depth0", 0, ApiType);
|
||||
WriteSampleColor(p, "r", "depth1", 1, ApiType);
|
||||
WriteSampleColor(p, "r", "depth0", 0, ApiType, true);
|
||||
WriteSampleColor(p, "r", "depth1", 1, ApiType, true);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user