mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
Fix stupid bug in Z16L depth texture efb2ram encoding shader.
This commit is contained in:
parent
e3d103f60c
commit
9aff16e7c1
1 changed files with 2 additions and 2 deletions
|
@ -555,8 +555,8 @@ void WriteZ16LEncoder(char* p,API_TYPE ApiType)
|
|||
WRITE(p, " depth -= expanded.g * 256.0;\n");
|
||||
WRITE(p, " expanded.b = depth;\n");
|
||||
|
||||
WRITE(p, " ocol0.r = expanded.b;\n");
|
||||
WRITE(p, " ocol0.a = expanded.g;\n");
|
||||
WRITE(p, " ocol0.r = expanded.b / 255.0;\n");
|
||||
WRITE(p, " ocol0.a = expanded.g / 255.0;\n");
|
||||
|
||||
WriteEncoderEnd(p, ApiType);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue