mesa/formatquery: Use new driver hook QueryInternalFormat
authorEduardo Lima Mitev <elima@igalia.com>
Wed, 16 Dec 2015 16:49:29 +0000 (17:49 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:05 +0000 (15:14 +0100)
commit993d7345b7c356d96f3d24865d83ff368bc6fc55
treef08a3c5a7aed3ca8cbce72787dd3ef3a84feb58d
parent25ee5c60dcb49e68c80eb5157769ccb655d647fa
mesa/formatquery: Use new driver hook QueryInternalFormat

Implements SAMPLES and NUM_SAMPLE_COUNTS queries using the new generic
driver call QueryInternalFormat, which is being introduced as replacement
of QuerySamplesForFormat to support ARB_internalformat_query2.

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