mesa: use _mesa_has_compute_shaders instead of extension check
authorTapani Pälli <tapani.palli@intel.com>
Thu, 7 May 2015 05:07:30 +0000 (08:07 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 11 May 2015 05:14:51 +0000 (08:14 +0300)
commitabf3fefa1aa734844e0ca8e95e8c3a501909aa33
treece2f76ae620eb7f9a62c5aecfe151f630fb03941
parent4a8cd2799c2467b9916dd0ba672f05a394aa9b9f
mesa: use _mesa_has_compute_shaders instead of extension check

This was really the original purpose, for enabling the path for
ES3.1 tests without the extension being set. Set also fallthrough
comment for Coverity (caught by Matt).

v2: .. and test the right way, not wrong one (Ilia Mirkin)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/shader_query.cpp