[Piglit] [PATCH] Add test to verify glTexSubImage2D() with depth formats

Brian Paul brianp at vmware.com
Thu Aug 7 12:09:12 PDT 2014


On 08/07/2014 11:34 AM, Anuj Phogat wrote:
> On Wed, Aug 6, 2014 at 5:53 AM, Brian Paul <brianp at vmware.com> wrote:
>> On 08/05/2014 08:07 PM, Anuj Phogat wrote:
>>>
>>> This test verifies the bug fix in i965 drivers in mesa commit 984a02b.
>>> Reproduces another bug in the driver with GL_DEPTH_COMPONENT16
>>> internal format.
>>>
> Test failed for texture sizes of {6, 12} and {130, 64} on i965. Tracked the
> issue down to setting the correct value of GL_UNPACK_ALIGNMENT for
> GL_UNSIGNED_SHORT type in test case. Test passes after setting the
> value of 2 for GL_UNSIGNED_SHORT type. If it sounds good to you, I'll
> make this change before pushing it upstream?

Sounds good.

-Brian




More information about the Piglit mailing list