mesa/formatquery: Added func to check if the 'resource' is supported
authorAntia Puentes <apuentes@igalia.com>
Sat, 19 Dec 2015 15:02:05 +0000 (16:02 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:06 +0000 (15:14 +0100)
commit5f6e3a03704c67dd5a271a4e43645355c5199cc7
treecdc624db3dae68de3d3a9935416f812df095fa83
parent95392cfa9d815ec985ba14dfe347b30d232ed9e7
mesa/formatquery: Added func to check if the 'resource' is supported

Checks that the 'resource', as defined by the ARB_internalformat_query2
specification, is supported by the implementation for those 'pnames'
that require this check.

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