https://bugs.freedesktop.org/show_bug.cgi?id=72685
--- Comment #23 from smoki smoki00790@gmail.com --- (In reply to comment #22)
And he said chips handle these cases, no driver need to somhow check for those. I gueesed that maybe that "Stencil op fail or zfail is not KEEP" is culprit but who knows :)
http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/Depth_in- depth.pdf#6 http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/Depth_in- depth.pdf#10
I mean that one for an artifacts we have in some apps :)
"Unfortunately the conventional method can get artifacts if the shadow volume intersects the near clipping plane (if front plane capping is not used, that is), which has made the Z-fail method the algorithm of choice for most deve lopers."