mesa: Don't advertise GLES 3.1 without compute support
authorDaniel Scharrer <daniel@constexpr.org>
Tue, 19 Apr 2016 14:57:06 +0000 (16:57 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 May 2016 16:21:21 +0000 (18:21 +0200)
commit1d628ea09df4911e897292186dc8242903c7a502
tree93b88c55f2dd5960b77b4a0b1f8aed239d1f7359
parent5827a1dc4b3c2f51d45f4b1d6ccd080515ed2bcc
mesa: Don't advertise GLES 3.1 without compute support

The MaxComputeWorkGroupInvocations constant is used in
compute_version_es2() instead of extensions->ARB_compute_shader
as ES has lower requirements than desktop GL.

Both i965 and gallium set this constant before enabling compute support.

Signed-off-by: Daniel Scharrer <daniel@constexpr.org>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/context.c