glslang-zig/glslang/MachineIndependent
Alejandro Piñeiro adba7dfc68 ParseHelper: assign global XfbBuffer to a block missing it
If a block has assigned a XfbOffset it is assumed that it would
inherit the current global XfbBuffer. This commit fixes two use cases:

1) Getting the members of a Block with a XfbOffset to be assigned an
   offset, as explained on GLSL 4.60 spec, section "4.4.2 Output
   Layout Qualifiers", subsection "Transform Feedback Layout
   Qualifiers".

2) Compute properly an error on overlapping ranges if a block is
   assigned a XfbOffset and one of it members is assigned a explicit
   one. This gets working because when the members of a block get
   assigned a Offset/Buffer at fixBlockXfbOffsets, then the block is
   deassigned the Offsets, so ranges are computed only with the block
   members.

BTW, this is already done when redeclaring block builtins.

Fixes #1535
2018-11-10 11:35:50 +01:00
..
preprocessor Fix #1563: Corrupt token when an object macro miscalls a function macro 2018-11-07 18:25:56 -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 Remove execute permissions 2018-08-07 03:16:20 +09:00
gl_types.h Implement the extension GL_AMD_gpu_shader_half_float_fetch 2018-03-02 16:48:03 +08:00
glslang.y Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
glslang_tab.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
glslang_tab.cpp.h Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
Initialize.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Intermediate.cpp Interfaces: Remove NV_EXTENSIONS from two more headers. 2018-09-26 09:38:20 -06:00
intermOut.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Fix #1536: use string instead of TString for uniform-location override. 2018-10-20 17:37:19 -06: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 Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07: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 #1536: use string instead of TString for uniform-location override. 2018-10-20 17:37:19 -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 ParseHelper: assign global XfbBuffer to a block missing it 2018-11-10 11:35:50 +01:00
ParseHelper.h ParseHelper: assign xfb_offset for struct members too 2018-10-31 10:34:44 +01:00
parseVersions.h Based on feedback rename checkShaderStageForNVExtensions to checkExtensionStage 2018-09-27 11:08:13 -07: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 Reflection exposes the Shader Stages where a Uniform is present 2018-07-10 18:25:48 +03:00
reflection.h Fix -Wignored-qualifier and -Wunused-variable warnings 2018-08-09 14:54:33 +02: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 Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07: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 Remove execute permissions 2018-08-07 03:16:20 +09:00
ShaderLang.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
SymbolTable.cpp Add-support-for-SPV_NVX_raytracing 2018-09-19 13:07:43 -07:00
SymbolTable.h HLSL: Implement member functions calling member functions. 2017-05-17 02:20:34 -06:00
Versions.cpp Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00
Versions.h Multiple features and misc fixes for final raytracing non experimental version. 2018-10-31 07:55:24 -07:00