[Piglit] [PATCH] Add a test for GLES2 using GL_EXT_unpack_subimage with GL_BGRA_EXT

Chad Versace chad.versace at linux.intel.com
Wed Oct 10 12:09:44 PDT 2012


Any update on this Piglit test? I wanted to expand it to cover more packing
cases, but noticed that it wasn't on master yet.

-Chad

On 10/02/2012 08:37 AM, Neil Roberts wrote:
> Hi,
> 
> Rob Bradford was discussing a bug in Mesa where the fast path code for
> uploading texture data to BGRA textures on Sandybridge does not work
> with a subregion of the buffer using GL_UNPACK_SKIP_*. Here is a test
> for Piglit that exposes this bug on GLES2. It is based on a previous
> test called ext_unpack_subimage.c.
> 
> Regards,
> - Neil
> 
> -- >8 --
> 
> This adds a test which creates a large empty texture and then sets two
> pixels of it using a subregion of a larger buffer. The texture is in
> GL_BGRA format. This tests a specific bug in Mesa introduced in commit
> 413c4914129c.
> ---



More information about the Piglit mailing list