glslang-zig/glslang/MachineIndependent
John Kessenich af459216a1 Correct precision qualification on built-in functions.
This is a replacement commit for pull request #238.

This is a design change, followed by implementation change that
A) fixes the changes caused by the design change, and
B) fixes some cases that were originally incorrect.

The design change is to not give built-in functions default precision qualification.
This is to allow the rule that the precision of some built-in functions adopt their
precision qualification from the calling arguments.  This is A above.

A consequence of this design change is that all built-ins that are supposed to have
an explicit precision qualifier must now be declared that way.  So, a lot more
built-in declarations now have precision qualifiers, just to keep things the same.
This is B above.
2016-05-03 19:34:00 -06:00
..
preprocessor Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
Constant.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
gl_types.h Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
glslang.y Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
glslang_tab.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
glslang_tab.cpp.h Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
InfoSink.cpp Fix the few non-portable uses of "char" (where a -1 might be relevant): All uses of char are now either "int", "unsigned char" or char arrays for storing strings. Also, went to consistent "char* foo" coding convention. (There were only a few ambiguous uses.) 2014-02-18 23:37:57 +00:00
Initialize.cpp Correct precision qualification on built-in functions. 2016-05-03 19:34:00 -06:00
Initialize.h SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
Intermediate.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
intermOut.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
IntermTraverse.cpp SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
limits.cpp Array of Array prep: Turn a batch of 0's into nullptr or UnsizedArraySize. 2015-08-09 18:15:25 -06:00
linkValidate.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
localintermediate.h Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
parseConst.cpp glslang: Fix over 100 warnings from MSVC warning level 4. 2015-05-15 17:30:55 +00:00
ParseHelper.cpp Correct precision qualification on built-in functions. 2016-05-03 19:34:00 -06:00
ParseHelper.h Correct precision qualification on built-in functions. 2016-05-03 19:34:00 -06:00
parseVersions.h Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
PoolAlloc.cpp Support compilation via MinGW 2016-03-16 15:41:31 -04:00
reflection.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
reflection.h Fix g++ build break (portibility problems with stl hash). This partly turns off the stl improvements. 2015-07-20 02:06:22 -06:00
RemoveTree.cpp Improvement to the AST traversal infrastructure. 2014-01-11 19:29:55 +00:00
RemoveTree.h Put all glslang internals (but not the external interface) into the glslang namespace. 2013-08-29 00:39:25 +00:00
Scan.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
Scan.h add .err file for eof_missing test 2016-04-27 10:22:22 -04:00
ScanContext.h Refactor TParseContext into 3 level inheritance. 2016-03-12 19:08:55 -07:00
ShaderLang.cpp Merge branch 'master' into hlsl-frontend 2016-04-03 20:36:48 -06:00
SymbolTable.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
SymbolTable.h Front-end: Add specialization-constant subtrees for const variables/symbols. 2016-03-20 16:46:00 -06:00
Versions.cpp Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00
Versions.h Implement the extension GL_ARB_gpu_shader_int64 2016-04-30 13:34:34 +08:00