From f398aa6aef697c3595b629ec14f8a5bef062bd2f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Jan 2018 16:24:42 -0800 Subject: mesa: Only require independent blending for GLES 3.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We've been requiring this since GLES 3.0 was introduced, but the GLES 3.2 spec is the one that has "Supporting blending on a per-draw-buffer basis" in the new features. V3D 3.3 would require lowering blending to shader code to implement independent blending. Reviewed-by: Tapani Pälli --- src/mesa/main/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 68079f4ebbb..1fce8fe7ca9 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -516,7 +516,6 @@ compute_version_es2(const struct gl_extensions *extensions, extensions->ARB_texture_float && extensions->ARB_texture_rg && extensions->ARB_depth_buffer_float && - extensions->EXT_draw_buffers2 && /* extensions->ARB_framebuffer_object && */ extensions->EXT_framebuffer_sRGB && extensions->EXT_packed_float && @@ -546,6 +545,7 @@ compute_version_es2(const struct gl_extensions *extensions, extensions->ARB_gpu_shader5 && extensions->EXT_shader_integer_mix); const bool ver_3_2 = (ver_3_1 && + extensions->EXT_draw_buffers2 && extensions->KHR_blend_equation_advanced && extensions->KHR_robustness && extensions->KHR_texture_compression_astc_ldr && -- cgit v1.2.3