diff options
author | John Kessenich <cepheus@frii.com> | 2013-06-13 23:56:04 +0000 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2013-06-13 23:56:04 +0000 |
commit | f78fff94e905bd571491881a5909dc08a3e6e5a2 (patch) | |
tree | c703ebe1753baf3424ca3c44252d87272f53451e /glslang/MachineIndependent/Initialize.cpp | |
parent | fb7044a9a8918dafd8dfff1d4e57fdba1cc32f1c (diff) | |
download | glslang-f78fff94e905bd571491881a5909dc08a3e6e5a2.tar.gz |
Implement __VERSION__ macro, make ftransform() non-ES only, add more tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22000 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'glslang/MachineIndependent/Initialize.cpp')
-rw-r--r-- | glslang/MachineIndependent/Initialize.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index 77f3ff17..8b7e3fc0 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -630,7 +630,8 @@ void TBuiltIns::initialize(int version, EProfile profile) // // Geometric Functions. // - s.append(TString("vec4 ftransform();")); + if (profile != EEsProfile) + s.append(TString("vec4 ftransform();")); // // Original-style texture Functions with lod. |