glsl: add OES_texture_buffer and EXT_texture_buffer support
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Feb 2016 21:13:50 +0000 (16:13 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Mar 2016 00:20:49 +0000 (20:20 -0400)
commit720670a615590e37a7e85852527a590778e6f273
treeb10e7565d81b41593fdbcb99c8e13e861b841c0a
parent74b76c08a3732b0ca337998780d01d67e7fd554b
glsl: add OES_texture_buffer and EXT_texture_buffer support

Expose the samplerBuffer/imageBuffer types, and allow the various
functions to operate on them.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/builtin_functions.cpp
src/compiler/glsl/builtin_types.cpp
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glsl_lexer.ll
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h