summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-01-18 16:24:42 -0800
committerEric Anholt <[email protected]>2018-01-21 10:48:00 +0800
commitf398aa6aef697c3595b629ec14f8a5bef062bd2f (patch)
tree6bf1b33a1b0ae93d162a7df82801c2c7e3ca2e20 /src/mesa/main
parent60d8fe9216d68aff1b00fdc8bc2e066ea45aac1e (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/version.c2
1 files changed, 1 insertions, 1 deletions
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 &&