glslang-zig/glslang/MachineIndependent
steve-lunarg 858c928ac7 Add basic HS/DS implementation.
This obsoletes WIP PR #704, which was built on the pre entry point wrapping master.  New version
here uses entry point wrapping.

This is a limited implementation of tessellation shaders.  In particular, the following are not functional,
and will be added as separate stages to reduce the size of each PR.

* patchconstantfunctions accepting per-control-point input values, such as
  const OutputPatch <hs_out_t, 3> cpv are not implemented.

* patchconstantfunctions whose signature requires an aggregate input type such as
  a structure containing builtin variables.  Code to synthesize such calls is not
  yet present.

These restrictions will be relaxed as soon as possible.  Simple cases can compile now: see for example
Test/hulsl.hull.1.tesc - e.g, writing to inner and outer tessellation factors.

PCF invocation is synthesized as an entry point epilogue protected behind a barrier and a test on
invocation ID == 0.  If there is an existing invocation ID variable it will be used, otherwise one is
added to the linkage.  The PCF and the shader EP interfaces are unioned and builtins appearing in
the PCF but not the EP are also added to the linkage and synthesized as shader inputs.
Parameter matching to (eventually arbitrary) PCF signatures is by builtin variable type.  Any user
variables in the PCF signature will result in an error.  Overloaded PCF functions will also result in
an error.

[domain()], [partitioning()], [outputtopology()], [outputcontrolpoints()], and [patchconstantfunction()]
attributes to the shader entry point are in place, with the exception of the Pow2 partitioning mode.
2017-02-10 16:59:09 -07:00
..
preprocessor Fix issue #708: token pasting within macro argument expansion. 2017-02-10 10:07:03 -07:00
Constant.cpp Front-ends: Non-functional: Rationalize vector and matrix swizzles. 2017-01-13 19:35:29 -07:00
gl_types.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
glslang.y Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
glslang_tab.cpp Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
glslang_tab.cpp.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Semantics: Texture clamp functions are available for fragment shader only. 2017-01-24 14:36:10 +08:00
Initialize.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Intermediate.cpp Add basic HS/DS implementation. 2017-02-10 16:59:09 -07:00
intermOut.cpp Implement new revision of extension GL_AMD_shader_ballot 2017-01-19 12:09:51 +08:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Memory/constructor/warning clean-up. Addresses issue #705. 2017-02-02 14:55:02 -07: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 Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
LiveTraverser.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
localintermediate.h Add basic HS/DS implementation. 2017-02-10 16:59:09 -07:00
parseConst.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ParseContextBase.cpp HLSL: Add tests and refine what decorations are passed through per stage/in/out. 2017-02-06 23:13:16 -07:00
ParseHelper.cpp HLSL: Wrap the entry-point; need to write 'in' args, and support 'inout' args. 2017-02-06 22:58:32 -07:00
ParseHelper.h HLSL: Add tests and refine what decorations are passed through per stage/in/out. 2017-02-06 23:13:16 -07: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 Non-functional: Fix some comments English and brace formatting in recent merges. 2016-05-17 10:24:00 -06:00
reflection.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
reflection.h Reorder initializer fields to match variable declaration order (or vice versa) for several class constructors. 2017-01-08 18:21:17 -04:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Scan.cpp Non-functional: Fix round of compiler warnings. 2017-01-13 20:08:54 -07:00
Scan.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ScanContext.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
ShaderLang.cpp Memory/constructor/warning clean-up. Addresses issue #705. 2017-02-02 14:55:02 -07:00
SymbolTable.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
SymbolTable.h Add basic HS/DS implementation. 2017-02-10 16:59:09 -07:00
Versions.cpp support SPV_NV_viewport_array2 and SPV_NV_stereo_view_rendering 2017-01-20 16:48:26 -08:00
Versions.h support SPV_NV_viewport_array2 and SPV_NV_stereo_view_rendering 2017-01-20 16:48:26 -08:00