[Mesa-dev] [PATCH] mesa: fix GLES 3.1 version calculation
Rob Clark
robdclark at gmail.com
Tue Jun 19 12:23:07 UTC 2018
All of ARB_gpu_shader5 is most certainly not required for GLES 3.1 (most
of it is in OES_gpu_shader5 on top of GLES 3.1).
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
I guess technically we depend on the tiniest sliver of ARB_gpu_shader5
but I'm not sure there is any better option than to ignore that. Is
there actually some other driver that would accidentally expose 3.1
with this change? If not, I think the straightforward thing to do is
to just drop the check for ARB_gpu_shader5.
src/mesa/main/version.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 1bdccf4a1df..90979ed80f9 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -549,7 +549,6 @@ compute_version_es2(const struct gl_extensions *extensions,
extensions->ARB_shading_language_packing &&
extensions->ARB_stencil_texturing &&
extensions->ARB_texture_multisample &&
- extensions->ARB_gpu_shader5 &&
extensions->EXT_shader_integer_mix);
const bool ver_3_2 = (ver_3_1 &&
extensions->EXT_draw_buffers2 &&
--
2.17.1
More information about the mesa-dev
mailing list