addendum : using the glsl_correct_derivatives_after_discard=true commandline option does work. But a big but : FPS took a nosedive.