gl4es
gl4es copied to clipboard
Current fake of gl_FragDepth makes OpenRA TS Tiberians and Structure Docks not render properly
I observed the problem firstly on Mali-400 and then this is also reproduced by change the FragDepth code in shaderconv.c .
Image rendered with fake FragDepth
Correct image
Unfortunatly, I'm not sure there is an easy (or even uneasy) way to fix this. When gl_FragDepth is not supported in hardware, there is no way to write (or read) the Depth buffer.