d3670823b3
This also fixes glsl version of fmod when both inputs are negative. Differential Revision: https://developer.blender.org/D6704