Fix glcPackedPixelsTests to properly account for skip images
authorAntto Mäkinen <antto.makinen@siru.fi>
Fri, 12 Nov 2021 11:45:46 +0000 (13:45 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 18 Nov 2021 21:53:28 +0000 (21:53 +0000)
commit20c6ceec020e5f7e223ad3e1b1d065c9735f0a0c
treeb50a8e064d3321bed264eb6a77df9ac7e32388ae
parent355b5826b3c840d868f097534b4d422d9efa2115
Fix glcPackedPixelsTests to properly account for skip images

RectangleTest::makeGradient in glcPackedPixelsTests does not
properly account for skip images. This commit prevents it
writing over the end of an array.

Affects:

KHR-GL33.packed_pixels.*

Components: OpenGL ES

VK-GL-CTS Issue: 3275

Change-Id: I9d8a47b59c000512926c3bfc85b6c6dc66eee213
external/openglcts/modules/common/glcPackedPixelsTests.cpp