[Mesa-dev] [PATCH] i965: Fix segfault in WebGL Conformance on Ivybridge (v2)
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 18 17:21:27 PST 2014
On 19/11/14 00:06, Chad Versace wrote:
> Fixes regression of WebGL Conformance test texture-size-limit [1] on
> Ivybridge Mobile GT2 0x0166 with Google Chrome R38.
>
> Regression introduced by
>
> commit 6c044231535b93c5d16404528946cad618d96bd9
> Author: Kenneth Graunke <kenneth at whitecape.org>
> Date: Sun Feb 2 02:58:42 2014 -0800
>
> i965: Bump GL_MAX_CUBE_MAP_TEXTURE_SIZE to 8192.
>
> The test regressed because the pointer offset arithmetic in
> intel_miptree_map_gtt() overflows for large textures. The pointer
> arithmetic is not 64-bit safe.
>
> [1] https://github.com/KhronosGroup/WebGL/blob/52f0dc240f04dce31b1b8e2b8107fe2b8332dc90/sdk/tests/conformance/textures/texture-size-limit.html
>
Seems like the offending commit got in during the 10.2 devel cycle.
Please slap the mesa-stable tag, before committing :)
Cc: "10.3 10.4" <mesa-stable at lists.freedesktop.org>
More information about the mesa-dev
mailing list