glslang-zig/glslang
Hans Wennborg 7341a21b34 GLSL: Fix integer overflow warnings in Constant.cpp
New versions of Clang warn:

```
glslang/MachineIndependent/Constant.cpp(216,114):
error: overflow in expression; result is -9223372036854775808 with type 'long long' [-Werror,-Winteger-overflow]
                else if (rightUnionArray[i].getI64Const() == -1 && leftUnionArray[i].getI64Const() == (long long)-0x8000000000000000ll)
                                                                                                                 ^
glslang/MachineIndependent/Constant.cpp(217,61):
error: overflow in expression; result is -9223372036854775808 with type 'long long' [-Werror,-Winteger-overflow]
                    newConstArray[i].setI64Const((long long)-0x8000000000000000ll);
                                                            ^
2 errors generated.
```

Using LLONG_MIN instead avoids the problem. I think it's also more
clear, and the code for EOpMod further down already does this.
2023-02-02 11:20:54 -07:00
..
CInterface Improve ResourceLimits interface to be more forward compatible 2022-11-01 12:06:51 -06:00
ExtensionHeaders Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics 2021-11-11 23:39:47 -07:00
GenericCodeGen Use nullptr where possible instead of NULL or 0 2022-11-30 09:33:28 -07:00
HLSL HLSL: Add missing relaxed-precision float/int matrix expansions 2023-02-02 11:14:33 -07:00
Include Fix issues with MaxDualSourceDrawBuffersEXT 2022-12-21 11:53:50 -08:00
MachineIndependent GLSL: Fix integer overflow warnings in Constant.cpp 2023-02-02 11:20:54 -07:00
OSDependent Use nullptr where possible instead of NULL or 0 2022-11-30 09:33:28 -07:00
Public Merge pull request #3061 from ShabbyX/remove-angle-build-flag 2022-11-08 14:46:48 -07:00
CMakeLists.txt Fix locations of cmake files in side compat shims 2022-11-16 16:54:09 -07:00
updateGrammar Revert "Merge pull request #2330 from ShabbyX/optimize_for_angle" 2020-07-13 03:39:08 -06:00