Make DSA subimage/storage tests signal unsupported cases
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 6 Jul 2017 12:17:58 +0000 (14:17 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 9 Aug 2017 08:24:43 +0000 (04:24 -0400)
commitf2126882fc0c46b3956bce4f4d099cfa2a6aea6b
tree4877a11a9ae883158343c954498a100ad907a75f
parent382cbb8a94569814735ed84df438396efcaffbac
Make DSA subimage/storage tests signal unsupported cases

The current implementation has a single test instance that
loops over a collection of types and sizes and produces a
single pass/fail result. Because some of the framebuffer
configurations produced may not be supported by the driver,
the test skips silently such configurations, which is not
desirable.

This patch rewrites the implementation so that we have a
separate test instance for each configuration instead. This
allows us to signal independent pass/fail/unsupported results
for each one.

Components: OpenGL
VK-GL-CTS issue: 494

Affects:
KHR-GL45.direct_state_access.textures_storage_and_subimage (removed)
KHR-GL45.direct_state_access.textures_storage_<imgtype>_<format> (added)
KHR-GL45.direct_state_access.textures_subimage_<imgtype>_<format> (added)

Change-Id: Id09459311df675f6e85579d12a30f8240fa5f703
external/openglcts/data/mustpass/gl/khronos_mustpass/4.5.5.x/gl45-master.txt
external/openglcts/modules/gl/gl4cDirectStateAccessTests.cpp
external/openglcts/modules/gl/gl4cDirectStateAccessTests.hpp
external/openglcts/modules/gl/gl4cDirectStateAccessTexturesTests.cpp