OSDN Git Service

mesa: support compute stage in _mesa_program_resource_prop
authorTapani Pälli <tapani.palli@intel.com>
Wed, 6 May 2015 06:36:15 +0000 (09:36 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 6 May 2015 08:12:01 +0000 (11:12 +0300)
commit818cc90535404d76b69b22145f203106491d86a2
tree520b13f251339d647e51160ade5cbd3cd3ce8f84
parent3706e5dbc96aa9cc29c58dad661aa10f20574503
mesa: support compute stage in _mesa_program_resource_prop

Increases pass rate of ES31-CTS.*program_interface_query* tests
when run with MESA_EXTENSION_OVERRIDE='GL_ARB_compute_shader'. Many
of the negative tests that happen to use compute stage in queries
start passing.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/main/shader_query.cpp