diff options
author | Timothy Arceri <[email protected]> | 2018-02-28 14:33:55 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-28 15:55:39 +1100 |
commit | 0c1f37cc2d8555223ade73b244a3ee374be8d9cd (patch) | |
tree | dcd01aa3f2f4be481d9ce66428fe812754798555 /src/gallium/drivers/r600/eg_debug.c | |
parent | 086c88551d286cf29a2414227fc3a6f4b0c9c455 (diff) |
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: 89285e4d47a6 "nir: add new constant folding infrastructure"
Reviewed-by: Jason Ekstrand <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105271
Diffstat (limited to 'src/gallium/drivers/r600/eg_debug.c')
0 files changed, 0 insertions, 0 deletions