GLSL: Fold constant SHRT_MIN/INT_MIN/LLONG_MIN % -1 to 0.
authorAaron Muir Hamilton <aaron@correspondwith.me>
Wed, 25 Oct 2017 00:11:53 +0000 (00:11 +0000)
committerAaron Muir Hamilton <aaron@correspondwith.me>
Wed, 25 Oct 2017 01:32:20 +0000 (01:32 +0000)
commitf83e2f0690f7575e1e7333cb7d5374396d2cfc8c
tree524af9a380365f10df604bf9ffbe95cf1a996d64
parentb5b08462442239e6537315ea1405b6afcd53043e
GLSL: Fold constant SHRT_MIN/INT_MIN/LLONG_MIN % -1 to 0.
Test/baseResults/constFoldIntMin.frag.out [new file with mode: 0644]
Test/constFoldIntMin.frag [new file with mode: 0644]
glslang/MachineIndependent/Constant.cpp
gtests/AST.FromFile.cpp