mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
TextureConversionShader: Invert depth for Z24 encoder with D3D
This commit is contained in:
parent
bd148e911b
commit
1ce38a136d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue