From 2348a77554beb115870cefd97556ddff450147df Mon Sep 17 00:00:00 2001 From: Piotr Byszewski Date: Tue, 23 Jan 2018 10:43:37 +0100 Subject: [PATCH] Fix TCS negative test One of three tests that are checking incorrectly sized tessellation control output array was actually correct. This is fixed by changing array size to value that is small then layout declaration. Remaining two tests check if compilation fails when value is greater then layout declaration. Components: OpenGL VK-GL-CTS issue: 297 Affects: dEQP-GLES31.functional.tessellation.user_defined_io.negative.es32.per_vertex_incorrect_control_explicit_output_array_size_1 Change-Id: I3f06e36ab8bab4eae541204bdab5db1f5d698ff2 --- data/gles31/shaders/es32/tessellation_negative_user_defined_io.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gles31/shaders/es32/tessellation_negative_user_defined_io.test b/data/gles31/shaders/es32/tessellation_negative_user_defined_io.test index 489b25b..ed4d19a 100644 --- a/data/gles31/shaders/es32/tessellation_negative_user_defined_io.test +++ b/data/gles31/shaders/es32/tessellation_negative_user_defined_io.test @@ -147,7 +147,7 @@ case per_vertex_incorrect_control_explicit_output_array_size_1 tessellation_control "" #version 320 es ${TESSELLATION_CONTROL_DECLARATIONS} - out highp float varyingArray[3]; // size is not equal to gl_MaxPatchVertices + out highp float varyingArray[2]; // size does not match layout declaration void main() { varyingArray[gl_InvocationID] = gl_in[0].gl_Position[gl_InvocationID]; -- 2.7.4