mesa/shaderimage: Added func to get the GL_IMAGE_CLASS from the format
authorAntia Puentes <apuentes@igalia.com>
Tue, 17 Nov 2015 20:29:04 +0000 (21:29 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:07 +0000 (15:14 +0100)
commit990a7200e091f1d0f79979f9c02fc50a07d6acad
treefa6f768da51366a045df6d8a54fa460394ad850c
parent52c3692324675535105f2d5bbdf2c4cd26e76580
mesa/shaderimage: Added func to get the GL_IMAGE_CLASS from the format

It will be used by the ARB_internalformat_query2 implementation to
implement the IMAGE_COMPATIBILITY_CLASS <pname> query.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/shaderimage.c
src/mesa/main/shaderimage.h