glslang-zig/glslang/MachineIndependent
Arseny Kapoulkine b239d22f7b Fix TextureUpgradeAndSamplerRemovalTransform when used with qualifiers
The transform removes sampler arguments from functions and function
calls; this causes function arguments to change their indices. When some
function arguments have an output qualifier, this qualifier can get lost
because of the removal which can lead to incorrect results (e.g. out
qualifier not having effect).

To fix this we iterate through both seq & qual arrays in lock-step and
manually remove/replace entries as appropriate.
2018-05-21 15:27:07 -07:00
..
preprocessor Revert "add ability to record accessed and declared "named defines"" 2018-04-10 14:44:23 +02: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 SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
gl_types.h Implement the extension GL_AMD_gpu_shader_half_float_fetch 2018-03-02 16:48:03 +08:00
glslang.y Non-functional: Fix tabs. 2018-04-11 00:03:47 -06:00
glslang_tab.cpp Non-functional: Fix tabs. 2018-04-11 00:03:47 -06:00
glslang_tab.cpp.h GLSL/SPV: Implement SPV_EXT_descriptor_indexing and GL_EXT_nonuniform_qualifier 2018-04-05 11:25:02 -06:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Build: Add missing break statements. Fixes #1052. 2018-04-26 14:12:29 -06:00
Initialize.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Intermediate.cpp Fix TextureUpgradeAndSamplerRemovalTransform when used with qualifiers 2018-05-21 15:27:07 -07:00
intermOut.cpp Implement GL_NV_shader_subgroup_partitioned 2018-03-29 22:52:17 -05:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Skip outermost array when assigning locations to auto-array interfaces 2018-05-10 16:53:49 +02: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 GLSL/Vulkan: Enforce no location aliasing in vertex inputs. 2018-04-12 11:37:57 -06: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 Fix #1333: Protect against -g for non-generating code. 2018-04-05 19:00:01 -06:00
parseConst.cpp HLSL: Allow empty struct initializers 2017-04-27 18:22:52 -06:00
ParseContextBase.cpp Non-functional. Rationalizations enabling future generalizations: 2018-03-28 18:01:20 -06:00
ParseHelper.cpp GLSL/Vulkan: Warn about arrays of arrays of resources that need bindings. 2018-04-24 13:29:12 -06:00
ParseHelper.h GLSL: Fix #1359: don't allow unsized arrays as initializers. 2018-04-23 15:32:47 -06:00
parseVersions.h Merge branch 'feature' of https://github.com/amdrexu/glslang into amdrexu-feature 2018-03-07 14:29:45 -07: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 Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06:00
reflection.h Implement SPV_GOOGLE_hlsl_functionality1. 2018-03-16 20:21:44 -06: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 GLSL/SPV: Implement SPV_EXT_descriptor_indexing and GL_EXT_nonuniform_qualifier 2018-04-05 11:25:02 -06:00
Scan.h Fix #1043: set all scan string-locations to have bias, not just the first one. 2017-09-11 20:35:49 -06:00
ScanContext.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
ShaderLang.cpp Minor cleanup in ShaderLang.cpp 2018-04-09 16:18:37 -06:00
SymbolTable.cpp SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
SymbolTable.h HLSL: Implement member functions calling member functions. 2017-05-17 02:20:34 -06:00
Versions.cpp Non-functional: Fix tabs. 2018-04-11 00:03:47 -06:00
Versions.h GLSL/SPV: Implement SPV_EXT_descriptor_indexing and GL_EXT_nonuniform_qualifier 2018-04-05 11:25:02 -06:00