mesa: allow multisampled format info to be returned on GLES 3.1
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 11 Feb 2016 20:02:30 +0000 (15:02 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Feb 2016 00:30:40 +0000 (19:30 -0500)
commitf3cd62a765aa54e12b82e5fe083c16406134c616
tree86f340affb4cab055d2723c6defbe4bc20d5131a
parent2bf041d94f23f501eddb998fb5a53068a24caa5d
mesa: allow multisampled format info to be returned on GLES 3.1

The restriction on multisampled integer texture formats only applies to
GLES 3.0, so don't apply it to GLES 3.1 contexts. This fixes a slew of

dEQP-GLES31.functional.state_query.internal_format.*

tests, which now all pass.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/formatquery.c