https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #21 from Shmerl shtetldik@gmail.com --- It's now in master. It should eventually land in /etc/drirc in distros, but until then, build Mesa from source and set this variable when running the game:
glsl_correct_derivatives_after_discard=true