st/mesa: enable GL image extensions when backend supports them
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 9 Jan 2016 04:01:01 +0000 (23:01 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 16 Feb 2016 03:22:33 +0000 (22:22 -0500)
commit1edbe0157d72c7ec6374e25ecfd8af895a54ac0c
tree5c8b1f6f6dad3f5cfadd49278e76d7fb6d18d44c
parent2e0a84208b632021d41edccc1dc2e858e62c13f6
st/mesa: enable GL image extensions when backend supports them

This enables ARB_shader_image_load_store and ARB_shader_image_size when
the backend claims support for these. It will also implicitly enable the
image component of ARB_shader_texture_image_samples.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_extensions.c