glslang-zig/glslang/MachineIndependent
steve-lunarg a4bfed129f WIP: track declared builtin type [proposal]
Marking as WIP since it might deserve discussion or at least explicit consideration.

During type sanitization, the TQualifier's TBuiltInVariable type is lost.  However,
sometimes it's needed downstream.  There were already two methods in use to track
it through to places it was needed: one in the TParameter, and one in a map in the
HlslParseContext used for structured buffers.

The latter was going to be insufficient when SB types with counters are passed to
user functions, and it's proving awkward to track the data to where it's needed.
This PR holds a proposal: track the original declared builtin type in the TType,
so it's trivially available where needed.

This lets the other two mechanisms be removed (and they are in this PR).  There's a
side benefit of not losing certain types of information before the reflection interface.

This PR is only that proposal, so it changes no test results.  If it's acceptable,
I'll use it for the last piece of SB counter functionality.
2017-05-15 15:44:00 -06:00
..
preprocessor [lumped builds] Only define _CRT_SECURE_NO_WARNINGS if it’s not defined yet. 2017-05-10 16:52:50 +03:00
Constant.cpp Front-ends: Non-functional: Rationalize vector and matrix swizzles. 2017-01-13 19:35:29 -07:00
gl_types.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
glslang.y GLSL: Fix #822: Improve information given for syntax errors. 2017-04-20 12:21:53 -06:00
glslang_tab.cpp GLSL: Fix #822: Improve information given for syntax errors. 2017-04-20 12:21:53 -06:00
glslang_tab.cpp.h GLSL: Fix #822: Improve information given for syntax errors. 2017-04-20 12:21:53 -06:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Build fix: Make string assignment simpler to avoid some compiler issues. 2017-05-09 23:30:56 -06:00
Initialize.h Build fix: Make string assignment simpler to avoid some compiler issues. 2017-05-09 23:30:56 -06:00
Intermediate.cpp HLSL: Fix #884: Use promoted children, not pre-promoted, in completing binary nodes. 2017-05-12 15:25:41 -06:00
intermOut.cpp HLSL: Support 1.#INF and -1.#INF syntax. 2017-04-12 13:40:53 -06:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Merge pull request #874 from xlpiao/DescriptorSet-and-Binding 2017-05-10 11:10:53 -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 SPV: Fix #807: use --hlsl-offsets to allow hlsl-style offsets in a buffer. 2017-04-05 17:38:20 -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 Merge pull request #874 from xlpiao/DescriptorSet-and-Binding 2017-05-10 11:10:53 -06:00
parseConst.cpp HLSL: Allow empty struct initializers 2017-04-27 18:22:52 -06:00
ParseContextBase.cpp Non-functional: Round of adding 'const', related to more efficient getFullNamespaceName(). 2017-03-30 10:16:22 -06:00
ParseHelper.cpp SPV: Support test #pragma for generating the StorageBuffer storage class. 2017-04-19 18:34:49 -06:00
ParseHelper.h Non-functional: Round of adding 'const', related to more efficient getFullNamespaceName(). 2017-03-30 10:16:22 -06:00
parseVersions.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
PoolAlloc.cpp Memory/constructor/warning clean-up. Addresses issue #705. 2017-02-02 14:55:02 -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 WIP: HLSL: add refection queries for structuredbuffer counter blocks 2017-04-18 12:58:15 -06:00
reflection.h WIP: HLSL: add refection queries for structuredbuffer counter blocks 2017-04-18 12:58:15 -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 HLSL: Emit the OpSource HLSL instruction for HLSL, using new headers. 2017-04-07 15:40:01 -06:00
Scan.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07: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 HLSL: Manually configure descriptor set and binding number for resources 2017-05-10 16:50:18 +09:00
SymbolTable.cpp HLSL: non-static member functions: track and find active anonymous 'this' scopes and members. 2017-03-21 23:56:40 -06:00
SymbolTable.h WIP: track declared builtin type [proposal] 2017-05-15 15:44:00 -06:00
Versions.cpp Full stack: properly implement GL_EXT_device_group and GL_EXT_multiview. 2017-03-14 16:45:30 -06:00
Versions.h Rename KHX to EXT to match the released specs 2017-03-03 18:40:48 -05:00