Set uncommited region access expected data to 0
authorJeannot Breton <jbreton@nvidia.com>
Thu, 25 May 2017 14:02:56 +0000 (09:02 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 26 May 2017 15:53:02 +0000 (11:53 -0400)
commit835b35199bd402363481584306c6c695d39c00c6
tree4f8a4f799aa4455f2c3292a10c8e60bfe98374b7
parent57289d9923dc75afaba7329a58d958e803d94207
Set uncommited region access expected data to 0

In the GL_TEXTURE_CUBE_MAP path, the expected data is initialized
to 0xff. This seems incorrect.
The test will only fecth the uncommitted region of the texture which
should return 0.

This change fixes this issue and initializes the data to 0

Affects:

KHR-GL45.sparse_texture2_tests.*
KHR-GL45.sparse_texture_clamp_tests.*

Components: OpenGL

VK-GL-CTS issue: 441

Change-Id: Ic00cdfde24248d1640fe458c8f0a547d7d174e3d
external/openglcts/modules/gl/gl4cSparseTexture2Tests.cpp