OSDN Git Service

mesa: Allow querying for GL_PRIMITIVE_RESTART_FIXED_INDEX under GLES 3
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 20 Jan 2015 12:58:45 +0000 (13:58 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 3 Feb 2015 12:19:36 +0000 (13:19 +0100)
commitc27d23f0c8e952d8ec340c4c9cd3ad026cd6187b
tree2710558409519c1a7ed5ac2de2c53b1c7889ff57
parentec7dcaf578b26179f6d6782f20af17c3b75149df
mesa: Allow querying for GL_PRIMITIVE_RESTART_FIXED_INDEX under GLES 3

GLES 3.0.0 spec introduces context state PRIMITIVE_RESTART_FIXED_INDEX
(2.8.1 Transferring Array Elements, page 26) which is not currently
possible to query using glGet*() funcs.

Fixes 4 dEQP tests:
* dEQP-GLES3.functional.state_query.boolean.primitive_restart_fixed_index_getboolean
* dEQP-GLES3.functional.state_query.boolean.primitive_restart_fixed_index_getinteger
* dEQP-GLES3.functional.state_query.boolean.primitive_restart_fixed_index_getinteger64
* dEQP-GLES3.functional.state_query.boolean.primitive_restart_fixed_index_getfloat

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