mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Fix typo. This breaks it again though, strangely.
This commit is contained in:
1 parent
fee776b6e0
commit
c91b58ac8e
1 file changed
+1
-2
@@ -400,8 +400,7 @@ void GenerateVertexShader(int prim, u32 vertType, char *buffer, bool useHWTransf
|
||||
WRITE(p, " float z = v.z / v.w;\n");
|
||||
WRITE(p, " z = z * u_depthRange.x + u_depthRange.y;\n");
|
||||
WRITE(p, " z = floor(z);\n");
|
||||
WRITE(p, " z = (z - u_depthRange.y) / u_depthRange.z;\n");
|
||||
WRITE(p, " z /= u_depthRange.x;\n");
|
||||
WRITE(p, " z = (z - u_depthRange.y) / u_depthRange.x;\n");
|
||||
WRITE(p, " return vec4(v.x, v.y, z * v.w, v.w);\n");
|
||||
WRITE(p, "}\n\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user