[Mesa-dev] [PATCH 1/2] i965: check for GL_TEXTURE_EXTERNAL_OES at miptree_create_for_teximage
Jason Ekstrand
jason at jlekstrand.net
Mon Sep 12 15:25:53 UTC 2016
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Sat, Sep 10, 2016 at 3:07 PM, Alejandro PiƱeiro <apinheiro at igalia.com>
wrote:
> Forgotten on commit "i965: Fix calculation of the image height at start
> level".
>
> Thanks to Ilia Mirkin for point it.
>
> Fixes the following regressions on Haswell and Broadwell:
> ES2-CTS.gtf.GL2ExtensionTests.egl_image_external.TestSimpleUnassociated
> (crash back to pass)
> ES2-CTS.gtf.GL2ExtensionTests.egl_image_external.TestSimple (crash back
> to fail)
> ES2-CTS.gtf.GL2ExtensionTests.egl_image_external.TestVertexShader (crash
> back to fail)
>
> https://bugs.freedesktop.org/show_bug.cgi?id=97761
> ---
> src/mesa/drivers/dri/i965/intel_tex_image.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c
> b/src/mesa/drivers/dri/i965/intel_tex_image.c
> index 65962eb..a012927 100644
> --- a/src/mesa/drivers/dri/i965/intel_tex_image.c
> +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c
> @@ -51,6 +51,7 @@ intel_miptree_create_for_teximage(struct brw_context
> *brw,
> case GL_TEXTURE_2D_MULTISAMPLE:
> case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
> case GL_TEXTURE_RECTANGLE:
> + case GL_TEXTURE_EXTERNAL_OES:
> assert(intelImage->base.Base.Level == 0);
> break;
> case GL_TEXTURE_3D:
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160912/37d2fab8/attachment.html>
More information about the mesa-dev
mailing list