mesa: Let compute shaders work in compatibility profiles
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 May 2016 19:17:24 +0000 (21:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 9 Jun 2016 19:03:28 +0000 (21:03 +0200)
commit5e2d25894b962aae9158261897e13843377e3b95
tree43edfabccf7600c0f3dc43996091eb576e954ea9
parent2c85128e015a401550046f47ce3e2dc0c0049540
mesa: Let compute shaders work in compatibility profiles

The extension is already advertised in compatibility profile, but
the _mesa_has_compute_shaders only returns true in core profile.
If we advertise it, we should allow it to work.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/context.h