glslang-zig/glslang/MachineIndependent
Jeff Bolz be63facd80 Handle buffer references vs 'const'
Allow constructors to and from references to be constant folded. Section 4.3.3
says constructors whose arguments are all constant expressions must fold.

Disallow 'const' on buffer reference types. It is not a 'non-void transparent
basic data type' (it is not considered 'basic').

Handle buffer reference constants (which can be assigned to a non-const reference,
or can be further folded to another type of constant) by converting to
'constructor(uint64_t constant)' in addConversion.

Disallow == and != operators on reference types.
2019-03-04 12:46:11 -06:00
..
preprocessor PP: Fix #1605: Paste tokens for ## through number->letter transitions. 2019-02-22 08:54:38 -07:00
attribute.cpp Fix build several build errors 2018-03-13 17:06:51 -04:00
attribute.h GLSL: Implement GL_EXT_control_flow_attributes. 2018-02-01 00:55:08 -07:00
Constant.cpp Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
gl_types.h Implement the extension GL_AMD_gpu_shader_half_float_fetch 2018-03-02 16:48:03 +08:00
glslang.y Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
glslang_tab.cpp Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
glslang_tab.cpp.h Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
Initialize.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Intermediate.cpp Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
intermOut.cpp Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Remove Unix executable permission from text files 2018-12-10 10:49:16 +01:00
iomapper.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
limits.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
linkValidate.cpp Add 8-bit/16-bit transform feedback support for future use 2019-02-03 23:31:32 +08:00
LiveTraverser.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
localintermediate.h Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
parseConst.cpp HLSL: Allow empty struct initializers 2017-04-27 18:22:52 -06:00
ParseContextBase.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
ParseHelper.cpp Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
ParseHelper.h Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
parseVersions.h Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
pch.cpp Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
pch.h Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
PoolAlloc.cpp Memory: Mak full explicit destructor functionality, techincally correctly. 2017-11-21 14:32:39 -07:00
propagateNoContraction.cpp HLSL: Add EOpMatrixSwizzle, selectively decomposed to other ops, for issue #670. 2017-01-13 12:35:01 -07:00
propagateNoContraction.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
reflection.cpp Fix type recursion with EOpIndexIndirect dereferences 2019-02-21 12:52:05 +00:00
reflection.h Add option to reflect buffer blocks & variables separately to uniforms 2019-02-04 12:02:59 +00:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
Scan.cpp Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
Scan.h SPV: Fix #1575, fix #1593: Support HLSL #line 2018-12-07 17:36:33 -07:00
ScanContext.h GL_EXT_buffer_reference 2019-01-07 12:36:13 -06:00
ShaderLang.cpp Merge pull request #1684 from baldurk/reflection-interface-improve 2019-02-09 12:59:30 +07:00
SymbolTable.cpp Fix mismatched integer comparison (size_t/unsigned int vs int) 2019-01-30 17:29:44 +00:00
SymbolTable.h Add missing override specifiers in virtual class 2019-01-30 17:29:46 +00:00
Versions.cpp Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
Versions.h Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00