mesa/genmipmap: Added a function to validate the internalformat
authorAntia Puentes <apuentes@igalia.com>
Thu, 26 Nov 2015 14:20:24 +0000 (15:20 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:06 +0000 (15:14 +0100)
commit079d99b830073f55a22954f6bb2b56cfb731e5e3
treebe83e07935d18427172b2824e8542c555aaa173b
parent06852f4b7a1ab9ea724bd7708662b2e6549aa98e
mesa/genmipmap: Added a function to validate the internalformat

It will be used by the ARB_internalformat_query2 implementation to
implement mipmap related queries.

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