mesa: Allows querying GL_SAMPLER_BINDING on GLES3 profile
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 11 Dec 2014 22:34:16 +0000 (23:34 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Jan 2015 11:19:32 +0000 (12:19 +0100)
commitf408c333e249e51bd10f2fc819ef7f735c4d7111
tree7aa5f4c49e146f8cbe17359e02fd1ab8d496d241
parent719e3f016ea69ffddd3bf14ec7a340def62ce464
mesa: Allows querying GL_SAMPLER_BINDING on GLES3 profile

From GLES3 specification (page 123), "The currently bound sampler may be
queried by calling GetIntegerv with pname set to
SAMPLER_BINDINGGL_SAMPLER_BINDING".

Fixes 4 dEQP tests:
* dEQP-GLES3.functional.state_query.integers.sampler_binding_getboolean
* dEQP-GLES3.functional.state_query.integers.sampler_binding_getinteger
* dEQP-GLES3.functional.state_query.integers.sampler_binding_getinteger64
* dEQP-GLES3.functional.state_query.integers.sampler_binding_getfloat

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