Fix invalid_assign_to_1 fragdata tests
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Tue, 30 Jan 2018 14:19:34 +0000 (15:19 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 14 Feb 2018 08:30:24 +0000 (03:30 -0500)
commit06586e05bf8d533b57646aa983479e034a3176f2
treef9408ab91f309b1a46a20f3d5f19fd5ebe9e5cc1
parent10be6b2179e01f08cc682d7c94ee971b9dd0c446
Fix invalid_assign_to_1 fragdata tests

For ES3 capable hardware compilation of shaders in
invalid_assign_to_1 test succeeds resulting in test failure.
This patch resolves that by adding only_glsl_es_100_support
and exactly_one_draw_buffer flags that indicate that test
shouldn't be executed on ES3 capable hardwere or on a
implementation that supports more then one draw buffer.
This change also removes redundant CaseRequirement structure
and parses requirements directly to ShaderCaseSpecification.

Components: OpenGL

VK-GL-CTS issue: 282

Affects:
dEQP-GLES2.functional.shaders.fragdata.invalid_assign_to_1
dEQP-GLES2.functional.shaders.*
dEQP-GLES3.functional.shaders.fragdata.invalid_assign_to_1
dEQP-GLES3.functional.shaders.*

Change-Id: I44949fde7ac9bc724965ec166ed55433c91857c2
android/cts/master/gles2-master.txt
android/cts/master/gles3-master.txt
android/cts/master/src/gles2-failures.txt
android/cts/master/src/gles3-driver-issues.txt
data/gles2/shaders/fragdata.test
data/gles3/shaders/fragdata.test
framework/opengl/gluShaderLibrary.cpp
framework/opengl/gluShaderLibrary.hpp
modules/glshared/glsShaderLibraryCase.cpp