summaryrefslogtreecommitdiff
path: root/src/glsl/ast_type.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-10-23 18:51:06 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-11-03 15:09:44 +0800
commit2903816aadb281716b6c59a5a48aeadb84a08f50 (patch)
tree23f372e51fdf5da3e37f3c3d8051458e340beed7 /src/glsl/ast_type.cpp
parentdb73264e1471a594d49ca0bc397cbb6746ee1dce (diff)
glsl: add support for GL_OES_EGL_image_external
This extension introduces a new sampler type: samplerExternalOES. texture2D (and texture2DProj) can be used to do a texture look up in an external texture. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/ast_type.cpp')
-rw-r--r--src/glsl/ast_type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp
index c680ae5f671..79c43eefbc5 100644
--- a/src/glsl/ast_type.cpp
+++ b/src/glsl/ast_type.cpp
@@ -83,6 +83,7 @@ ast_type_specifier::ast_type_specifier(int specifier)
"sampler2DRect",
"sampler3D",
"samplerCube",
+ "samplerExternalOES",
"sampler1DShadow",
"sampler2DShadow",
"sampler2DRectShadow",