On Thu, Aug 7, 2014 at 2:13 PM, Patrick Baggett
<baggett.patr...@gmail.com> wrote:
> Would this be conformant to GLSL spec if X had a runtime value of 0? Seems
> unsafe to replace X / X with 1 without a runtime test...maybe GLSL spec
> allows such optimizations.

The GLSL spec says

> Dividing by zero does not cause an exception but does result in an 
> unspecified value.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to