summaryrefslogtreecommitdiff
path: root/data/gles3
diff options
context:
space:
mode:
authorPiotr Byszewski <piotr.byszewski@mobica.com>2018-01-30 15:19:34 +0100
committerAlexander Galazin <Alexander.Galazin@arm.com>2018-02-14 03:30:24 -0500
commit06586e05bf8d533b57646aa983479e034a3176f2 (patch)
treef9408ab91f309b1a46a20f3d5f19fd5ebe9e5cc1 /data/gles3
parent10be6b2179e01f08cc682d7c94ee971b9dd0c446 (diff)
downloadVK-GL-CTS-06586e05bf8d533b57646aa983479e034a3176f2.tar.gz
VK-GL-CTS-06586e05bf8d533b57646aa983479e034a3176f2.tar.bz2
VK-GL-CTS-06586e05bf8d533b57646aa983479e034a3176f2.zip
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
Diffstat (limited to 'data/gles3')
-rw-r--r--data/gles3/shaders/fragdata.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/gles3/shaders/fragdata.test b/data/gles3/shaders/fragdata.test
index f7ba4f295..63af9eb36 100644
--- a/data/gles3/shaders/fragdata.test
+++ b/data/gles3/shaders/fragdata.test
@@ -2,6 +2,8 @@
case invalid_assign_to_1
version 100 es
expect compile_fail
+ require only_glsl_es_100_support
+ require exactly_one_draw_buffer
vertex ""
void main (void)
{