Skip to content
Snippets Groups Projects
Commit 0c1f37cc authored by Timothy Arceri's avatar Timothy Arceri
Browse files

nir: fix interger divide by zero crash during constant folding


From the GLSL 4.60 spec Section 5.9 (Expressions):

   "Dividing by zero does not cause an exception but does result in
    an unspecified value."

Fixes: 89285e4d "nir: add new constant folding infrastructure"

Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105271
parent 086c8855
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment