Improve preprocessor by using GLSL scanner, allowing read-only strings to be compiled...
authorJohn Kessenich <cepheus@frii.com>
Mon, 28 Oct 2013 18:12:06 +0000 (18:12 +0000)
committerJohn Kessenich <cepheus@frii.com>
Mon, 28 Oct 2013 18:12:06 +0000 (18:12 +0000)
commitea869fb403fd74ddda04e6c2e163f764a311d46e
treea4d18b68446424a795cbabe522c425b5eb5da56b
parent9497485e14a33d698147a0a0c5a66d181d4de2fe
Improve preprocessor by using GLSL scanner, allowing read-only strings to be compiled, unifying of line # tracking, and correct detection that ES #version appeared after a comment.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23721 e7fa87d3-cd2b-0410-9028-fcbf551c1848
20 files changed:
Install/Windows/glslangValidator.exe
StandAlone/StandAlone.cpp
Test/baseResults/empty.frag.out [new file with mode: 0644]
Test/baseResults/versionsClean.frag.out
Test/empty.frag [new file with mode: 0644]
Test/empty2.frag [new file with mode: 0644]
Test/empty3.frag [new file with mode: 0644]
Test/runtests
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.h
glslang/MachineIndependent/Scan.cpp
glslang/MachineIndependent/Scan.h
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/Versions.cpp
glslang/MachineIndependent/preprocessor/Pp.cpp
glslang/MachineIndependent/preprocessor/PpContext.cpp
glslang/MachineIndependent/preprocessor/PpContext.h
glslang/MachineIndependent/preprocessor/PpScanner.cpp
glslang/MachineIndependent/preprocessor/PpTokens.cpp
glslang/Public/ShaderLang.h