Standalone: Implement -D and -U for preprocessor macros.
authorJohn Kessenich <cepheus@frii.com>
Thu, 15 Jun 2017 16:40:49 +0000 (10:40 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 15 Jun 2017 16:57:18 +0000 (10:57 -0600)
commita931366f569c5c9acab37efe5d5c72bdbb0519cc
tree44bf74de6f356db083820dda446db707e6436697
parent04acb1b7c93070d6275d502f7620e08c441b7937
Standalone: Implement -D and -U for preprocessor macros.

Works for both GLSL and HLSL.
Fixes #87.
StandAlone/StandAlone.cpp
Test/baseResults/glsl.-D-U.frag.out [new file with mode: 0644]
Test/baseResults/hlsl.-D-U.frag.out [new file with mode: 0644]
Test/glsl.-D-U.frag [new file with mode: 0644]
Test/hlsl.-D-U.frag [new file with mode: 0644]
Test/runtests
glslang/MachineIndependent/ShaderLang.cpp