[Mesa-dev] [PATCH v2 3/3] intel/i965: Enable extension EXT_sRGB_write_control

Gert Wollny gw.fossdev at gmail.com
Thu Oct 18 08:46:35 UTC 2018


From: Gert Wollny <gert.wollny at collabora.com>

Enables and passes on i965:
  dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled*, 

and still passes 
  dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum
when extension is manually disabled via MESA_EXTENSION_OVERRIDE. 

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
---
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index d7e02efb54..ca921de8e8 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -76,6 +76,7 @@ intelInitExtensions(struct gl_context *ctx)
    ctx->Extensions.ARB_shading_language_packing = true;
    ctx->Extensions.ARB_shadow = true;
    ctx->Extensions.ARB_sync = true;
+   ctx->Extensions.EXT_sRGB_write_control = true;
    ctx->Extensions.ARB_texture_border_clamp = true;
    ctx->Extensions.ARB_texture_compression_rgtc = true;
    ctx->Extensions.ARB_texture_cube_map = true;
-- 
2.18.1



More information about the mesa-dev mailing list