ShaderImageLoadStore: relax texture incompleteness requirement
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 25 Aug 2017 23:29:49 +0000 (16:29 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 8 Sep 2017 07:07:09 +0000 (03:07 -0400)
commit8c5a1a79483c3599d37f96d01a07ba93e0fa37e6
tree2c2fae6be28e27c34514825d8907d5a44f0d6029
parentf5fa630b3b91f3cd379cd774a0ec8a7c875bb061
ShaderImageLoadStore: relax texture incompleteness requirement

When the test was writen, OpenGL spec specified that image access
would be considered invalid fs the texture is incomplete.

This raised some issues when the texture is mipmap-incomplete (so
incomplete as a whole), but base-complete, and the image is bound to
the base level.

After some debate it was agreed to allow that case.

This patch modifies the test by setting a level different to the base
level for the incomplete source/destination images.

Affects:
KHR-GL45.shader_image_load_store.incomplete_textures

Components: OpenGL

VK-GL-CTS issue: 667
Khronos bugzilla: 16111

Change-Id: I4158ac149e5738c1843acf0b8237e87677bdf00a
external/openglcts/modules/gl/gl4cShaderImageLoadStoreTests.cpp