glsl: add support for GL_OES_EGL_image_external
authorChia-I Wu <olv@lunarg.com>
Sun, 23 Oct 2011 10:51:06 +0000 (18:51 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 3 Nov 2011 07:09:44 +0000 (15:09 +0800)
commit2903816aadb281716b6c59a5a48aeadb84a08f50
tree23f372e51fdf5da3e37f3c3d8051458e340beed7
parentdb73264e1471a594d49ca0bc397cbb6746ee1dce
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>
15 files changed:
src/glsl/ast.h
src/glsl/ast_type.cpp
src/glsl/builtin_types.h
src/glsl/builtins/profiles/OES_EGL_image_external.frag [new file with mode: 0644]
src/glsl/builtins/profiles/OES_EGL_image_external.vert [new file with mode: 0644]
src/glsl/builtins/tools/generate_builtins.py
src/glsl/builtins/tools/texture_builtins.py
src/glsl/glcpp/glcpp-parse.y
src/glsl/glsl_lexer.ll
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h
src/glsl/standalone_scaffolding.cpp