Use RGBA_BPTC_UNORM instead of RGB8_ETC2
authorJeannot Breton <jbreton@nvidia.com>
Wed, 26 Jul 2017 18:24:17 +0000 (13:24 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 22 Aug 2017 07:49:18 +0000 (03:49 -0400)
commit8752cc2e13623004dfe804734bb4670b11cb8063
tree8bc3ace7318d48c8e5c9514d986856f93749259d
parentbb0a7d17b1c3ba5f92e44b00b6aa9d456f05479f
Use RGBA_BPTC_UNORM instead of RGB8_ETC2

This change uses GL_COMPRESSED_RGBA_BPTC_UNORM instead of
GL_COMPRESSED_RGB8_ETC2 to avoid issue on implementations that
don't compress GL_COMPRESSED_RGB8_ETC2 internally.

GL_COMPRESSED_RGBA_BPTC_UNORM should not be emulated by the
implementation, so this format should be fine

Affects:

KHR-GL45.get_texture_sub_image.functional_test

Components: OpenGL

VK-GL-CTS issue: 599

Change-Id: Iab62cb24e6bbd024adfd3db7fa55bc4980fd85e6
external/openglcts/modules/gl/gl4cGetTextureSubImageTests.cpp