Rewrite DSA texture buffer tests to signal unsupported configurations
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 20 Jun 2017 10:24:40 +0000 (12:24 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sun, 25 Jun 2017 11:40:37 +0000 (07:40 -0400)
commit3bacb9188acc0b33a46b71cf540d2f60b01ebe1b
treed0b3cf6588c087e6e2ce58ba7f1eaf1fc6db3ab1
parent9dadceb9aa3c69ed7290206ef62450f3b81837c7
Rewrite DSA texture buffer tests to signal unsupported configurations

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

Affects:
KHR-GL45.direct_state_access.textures_buffer

Change-Id: Id160dd91bed4e5e2a66a6e579e9e4893b5ea956a
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