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
This commit is contained in:
John Kessenich 2013-06-13 23:56:04 +00:00
parent fb7044a9a8
commit f78fff94e9
7 changed files with 20 additions and 4 deletions

View file

@ -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.