gl4es icon indicating copy to clipboard operation
gl4es copied to clipboard

Current fake of gl_FragDepth makes OpenRA TS Tiberians and Structure Docks not render properly

Open Icenowy opened this issue 8 years ago • 1 comments

I observed the problem firstly on Mali-400 and then this is also reproduced by change the FragDepth code in shaderconv.c .

2017-10-25 22-45-33 Image rendered with fake FragDepth 2017-10-25 22-46-01 Correct image

Icenowy avatar Oct 25 '17 14:10 Icenowy

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.

ptitSeb avatar Oct 25 '17 15:10 ptitSeb