glslang-zig/glslang/MachineIndependent
Alejandro Piñeiro 0f66082d1d ParseHelper: don't assign xfb_offset for struct members
This commit undoes the code on the commit "ParseHelper: assign
xfb_offset for struct members too" (commit
af8c1bdb16), except the method renaming,
and updates the tests.

During the review of the implementation of Vulkan extension
VK_EXT_transform_feedback for the Linux Intel driver, it was pointed
that the Vulkan environment spec for SPIR-V only ever refers to block
or block members being decorated. It would be strange to not do the
same for OpenGL (ARB_gl_spirv). That would also fit better to what
GLSL does, where setting explicit xfb offsets for struct members is
not allowed.

FWIW, the original patch was proposed based on the fact that
ARB_gl_spirv is relying on OpenGL for how xfb offsets should be
assigned to members, and it was not clear (at least to me) which is
the responsible of such.
2019-01-31 17:09:30 +01:00
..
preprocessor HLSL: Fix #1655; use "" for nullptr file names. Needs test cases. 2019-01-16 16:07:51 +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 Build: Make calling argument types match declared parameter types. 2018-12-17 14:00:43 -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 Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
glslang_tab.cpp Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
glslang_tab.cpp.h Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
Initialize.h SPV: Implement Vulkan 1.1 features and extensions. 2018-03-06 16:12:04 -07:00
Intermediate.cpp GL_EXT_buffer_reference 2019-01-07 12:36:13 -06:00
intermOut.cpp GL_EXT_buffer_reference 2019-01-07 12:36:13 -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 Fix xfb_stride incorrectness(#1654) 2019-01-14 12:02:58 +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 Fix xfb_stride incorrectness(#1654) 2019-01-14 12:02:58 +08: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: don't assign xfb_offset for struct members 2019-01-31 17:09:30 +01:00
ParseHelper.h Infrastructure: Generalize and broaden per-variable extension checking. 2019-01-09 22:21:22 +07:00
parseVersions.h Licensing. Fixes #958. Add licenes file and update copyrights. 2018-12-14 10:47:35 -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 Update reflection offset consistently for structure members 2019-01-29 17:00:53 +00:00
reflection.h Add missing initialisation of counterIndex and stages in badReflection() 2019-01-29 14:10:04 +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 Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08: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 Make sure source strings are terminated (#1641) 2019-01-07 23:47:37 +07:00
SymbolTable.cpp Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
SymbolTable.h Infrastructure: Generalize and broaden per-variable extension checking. 2019-01-09 22:21:22 +07:00
Versions.cpp Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00
Versions.h Add support for GL_EXT_YUV_target 2019-01-29 13:17:47 -08:00