mesa: allow mutable buffer textures to back GL ES images
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Mar 2016 19:31:05 +0000 (15:31 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 30 Mar 2016 01:41:03 +0000 (21:41 -0400)
commit553e37aa337783d468f218291f6de6a74e49289b
tree7017891dcf1dd6eec5378ba69ce0b565fa5d46b2
parent513384d7e8db294d54a910f40c90492c211abc54
mesa: allow mutable buffer textures to back GL ES images

Since there is no way to create immutable texture buffers in GL ES,
mutable buffer textures are allowed to back images. See issue 7 of the
GL_OES_texture_buffer specification.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/main/shaderimage.c