Set NEAREST filtering for sparse clamp lookup texture
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 22 Apr 2022 13:09:31 +0000 (09:09 -0400)
committerPiers Daniell <pdaniell@nvidia.com>
Thu, 12 May 2022 20:55:16 +0000 (14:55 -0600)
commit987832b896931b596eb91771b43d0a04554ca8b2
tree4ec5240599be01add0a93fb01d870b66f216462d
parentbb81897bfc183454e0ec52e0f7f2a9c7263b982c
Set NEAREST filtering for sparse clamp lookup texture

Integer formats can't use LINEAR filtering here, so this was
a spec violation.

Given that LINEAR isn't being tested, just use NEAREST in all cases
to avoid complexity.

For the min filter use NEAREST_MIPMAP_NEAREST since mipmaps are used
by the test.

Affects:
KHR-GL46.sparse_texture_clamp_tests.SparseTextureClampLookupResidency
KHR-GL46.sparse_texture_clamp_tests.SparseTextureClampLookupColor

Components: OpenGL
VK-GL-CTS issue: 3653

Change-Id: I5bb7fcde24c4d3dcf0584bf91e96c4c5559b2b39
external/openglcts/modules/gl/gl4cSparseTextureClampTests.cpp