Add GL_OES_EGL_image_external. Includes new keyword, type, name mangling, built-in function calls, etc.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24007 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
99296369d3
commit
bd1a5b7727
12 changed files with 118 additions and 8 deletions
|
|
@ -686,6 +686,15 @@ void TBuiltIns::initialize(int version, EProfile profile)
|
|||
"\n");
|
||||
}
|
||||
|
||||
if (profile == EEsProfile) {
|
||||
// GL_OES_EGL_image_external, caught by keyword check
|
||||
commonBuiltins.append(
|
||||
"vec4 texture2D(samplerExternalOES, vec2 coord);"
|
||||
"vec4 texture2DProj(samplerExternalOES, vec3);"
|
||||
"vec4 texture2DProj(samplerExternalOES, vec4);"
|
||||
"\n");
|
||||
}
|
||||
|
||||
//
|
||||
// Noise functions.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue