mesa: Returns zero samples when querying GL_NUM_SAMPLE_COUNTS when internal format...
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 20 Nov 2014 13:52:35 +0000 (14:52 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 9 Dec 2014 10:40:00 +0000 (11:40 +0100)
commit09cb149ba745302e366c2f965a033103d398748c
tree625740fde8d6e4625cf6fb58e79a78b8fcae8ca2
parent78942787170615c9333810cf3a4819a13c9eb8e8
mesa: Returns zero samples when querying GL_NUM_SAMPLE_COUNTS when internal format is integer

From GL ES 3.0 specification, section 6.1.15 Internal Format Queries (page 236),
multisampling is not supported for signed and unsigned integer internal formats.

Fixes 19 dEQP tests under 'dEQP-GLES3.functional.state_query.internal_format.*'.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/formatquery.c