From: Eric Anholt Date: Fri, 19 Jan 2018 00:24:42 +0000 (-0800) Subject: mesa: Only require independent blending for GLES 3.2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f398aa6aef697c3595b629ec14f8a5bef062bd2f;p=mesa.git mesa: Only require independent blending for GLES 3.2. 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 --- 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 &&