mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-30 22:51:06 +00:00
dc756a61c8
This division is undefined behaviour which raises SIGFPE on x86. Most C++ preprocessors evaluate this silently to 0.
3 lines
92 B
GLSL
3 lines
92 B
GLSL
#if (-2147483648 / -1) != 0
|
|
#error INT_MIN / -1 should yield 0, something went wrong.
|
|
#endif |