Add and use ability to tell the backend compiler what version/profile the source shader was.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20840 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-03-12 17:53:55 +00:00
parent d7c120f16f
commit 213c464c60
3 changed files with 6 additions and 5 deletions

View file

@ -566,7 +566,7 @@ int ShCompile(
//
// Call the machine dependent compiler
//
if (! compiler->compile(parseContext.treeRoot))
if (! compiler->compile(parseContext.treeRoot, parseContext.version, parseContext.profile))
success = false;
}
}