aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/tools/generate_builtins.py
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-10-23 18:51:06 +0800
committerChia-I Wu <[email protected]>2011-11-03 15:09:44 +0800
commit2903816aadb281716b6c59a5a48aeadb84a08f50 (patch)
tree23f372e51fdf5da3e37f3c3d8051458e340beed7 /src/glsl/builtins/tools/generate_builtins.py
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 <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/builtins/tools/generate_builtins.py')
-rwxr-xr-xsrc/glsl/builtins/tools/generate_builtins.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py
index b8c12bc3659..72d12bb2a9a 100755
--- a/src/glsl/builtins/tools/generate_builtins.py
+++ b/src/glsl/builtins/tools/generate_builtins.py
@@ -164,6 +164,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne
st->symbols->language_version = 130;
st->ARB_texture_rectangle_enable = true;
st->EXT_texture_array_enable = true;
+ st->OES_EGL_image_external_enable = true;
_mesa_glsl_initialize_types(st);
sh->ir = new(sh) exec_list;