glslang preprocessing: Add -E option to print out preprocessed GLSL, and do the work...
authorJohn Kessenich <cepheus@frii.com>
Wed, 17 Jun 2015 02:38:44 +0000 (02:38 +0000)
committerJohn Kessenich <cepheus@frii.com>
Wed, 17 Jun 2015 02:38:44 +0000 (02:38 +0000)
commitc555dddd5344124b4839b09999fca451381d93c9
tree49e5af4e9776e1bbd905900c80b10834e72eb751
parent9288f46b95213f8dd9b5913ea3e3565a6bbe4dd8
glslang preprocessing: Add -E option to print out preprocessed GLSL, and do the work needed to generate a preprocessed stream.  From Andrew Woloszyn <awoloszyn@google.com>.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31508 e7fa87d3-cd2b-0410-9028-fcbf551c1848
23 files changed:
StandAlone/StandAlone.cpp
Test/baseResults/preprocessor.edge_cases.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.errors.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.extensions.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.function_macro.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.line.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.pragma.vert.out [new file with mode: 0644]
Test/baseResults/preprocessor.simple.vert.out [new file with mode: 0644]
Test/preprocessor.edge_cases.vert [new file with mode: 0644]
Test/preprocessor.errors.vert [new file with mode: 0644]
Test/preprocessor.extensions.vert [new file with mode: 0644]
Test/preprocessor.function_macro.vert [new file with mode: 0644]
Test/preprocessor.line.vert [new file with mode: 0644]
Test/preprocessor.pragma.vert [new file with mode: 0644]
Test/preprocessor.simple.vert [new file with mode: 0644]
Test/runtests
Test/test-preprocessor-list [new file with mode: 0644]
Test/test-spirv-list
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.h
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/preprocessor/Pp.cpp
glslang/Public/ShaderLang.h