Make DSA storage multisample tests signal unsupported cases
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 31 Aug 2017 08:57:48 +0000 (10:57 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 8 Sep 2017 13:36:05 +0000 (09:36 -0400)
commite73cc77aeed35a141a0d55ce7a9b029da16770c8
tree9a2a1ba7cb36009ee745102b1a6cad85035eb84c
parent8c47d1335cb7dca2d3de1dc1c6dad9dd50e1c01a
Make DSA storage multisample 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. This means that the test fails
if any of the framebuffer configurations attempted
during the test is unsupported.

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
Issue: 503

Affects:
KHR-GL45.direct_state_access.textures_storage_multisample (removed)
KHR-GL45.direct_state_access.textures_storage_multisample_<imgtype>_<format> (added)
KHR-GL46.direct_state_access.textures_storage_multisample (removed)
KHR-GL46.direct_state_access.textures_storage_multisample_<imgtype>_<format> (added)

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