mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #3664 from stenzek/d3d-z24-encoder
TextureConversionShader: Invert depth for Z24 encoder with D3D
This commit is contained in:
commit
2aea549eef
@ -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