[Mesa-dev] [PATCH v6 7/8] mesa/main/version: Lower the requirements for GLES 3.0
Gert Wollny
gw.fossdev at gmail.com
Thu Nov 15 12:45:58 UTC 2018
From: Gert Wollny <gert.wollny at collabora.com>
GLES 3.0 does not actually require support for EXT_framebuffer_sRGB, it
only needs support for sRGB attachments to framebuffers and framebuffer
objects as defined in ARB_framebuffer_objects.
v2: Clarify that ARB_framebuffer_objects is needed.
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
---
Note, that for GLES 2.0 one would actually need to check for
EXT_framebuffer_object here, but this extension is not handled in mesa.
ARB_framebuffer_objects = EXT_framebuffer_object +
multi-sample target +
differently sizes attachments.
src/mesa/main/version.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 610ba2f08c..5709d283f3 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -512,8 +512,8 @@ compute_version_es2(const struct gl_extensions *extensions,
extensions->ARB_texture_float &&
extensions->ARB_texture_rg &&
extensions->ARB_depth_buffer_float &&
- /* extensions->ARB_framebuffer_object && */
- extensions->EXT_framebuffer_sRGB &&
+ extensions->ARB_framebuffer_object &&
+ extensions->EXT_sRGB &&
extensions->EXT_packed_float &&
extensions->EXT_texture_array &&
extensions->EXT_texture_shared_exponent &&
--
2.18.1
More information about the mesa-dev
mailing list