glslang-zig/glslang/Include
Marius Hillenbrand 0eda343970 Use intermOut.cpp's IsNan and IsInfinity for parse-time constant folding (updated)
There were two implementations of isInf() and isNan(), in Constant.cpp
and in intermOut.cpp. The former only works on little-endian systems,
the latter is a wrapper for library functions and works regardless of
endianness. Move the second version into Common.h and adopt it in both
places. Thereby avoid the duplication and fix for big-endian systems.

A previous commit with the same intent and purpose had missed a required
header for builds on Windows.

On s390x, this fixes the test case
Glsl/CompileToAstTest.FromFile/constFold_frag.

Fixes #2802
2021-11-11 16:49:40 +01:00
..
arrays.h Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
BaseTypes.h Add support for GL_NV_ray_tracing_motion_blur. 2021-08-10 10:40:28 -07:00
Common.h Use intermOut.cpp's IsNan and IsInfinity for parse-time constant folding (updated) 2021-11-11 16:49:40 +01:00
ConstantUnion.h Fixes for gcc 9 / -Werror=deprecated-copy 2019-10-19 15:36:34 +03:00
glslang_c_interface.h GLSLANG_EXPORT for C APIs. 2020-08-10 22:26:41 +02:00
glslang_c_shader_types.h Fix missing enum values in the C-interface #2507 2021-01-21 02:33:16 +03:00
InfoSink.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
InitializeGlobals.h Revert changes that migrate to thread_local. 2020-07-31 07:13:24 +01:00
intermediate.h Perform update_precision on constructors and converts 2021-09-02 14:18:51 -06:00
PoolAlloc.h Return new allocator for copied containers 2021-10-25 10:59:27 -06:00
ResourceLimits.h Add support for es extension GL_EXT_blend_func_extended 2020-04-30 23:21:14 -07:00
ShHandle.h Memory: Remove the need for per-thread tear down. 2017-11-13 01:52:11 -07:00
SpirvIntrinsics.h Make modifications of GL_EXT_spirv_intrinsics 2021-10-15 20:22:36 +08:00
Types.h Fix incorrect link time validation for unused gl_PerVertex members 2021-11-08 15:23:02 -08:00