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

Ian Romanick idr at freedesktop.org
Thu Oct 18 20:22:30 UTC 2018


On 10/18/2018 09:39 AM, Gert Wollny wrote:
> From: Gert Wollny <gert.wollny at collabora.com>
> 
> Enables and passes on i965:
>   dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled*
> 
> 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;

This should be down with the other EXT enables.  The sorting includes
the XYZ tag.

>     ctx->Extensions.ARB_texture_border_clamp = true;
>     ctx->Extensions.ARB_texture_compression_rgtc = true;
>     ctx->Extensions.ARB_texture_cube_map = true;
> 



More information about the mesa-dev mailing list