diff options
author | Mika Isojärvi <misojarvi@google.com> | 2016-04-13 12:34:34 -0700 |
---|---|---|
committer | Mika Isojärvi <misojarvi@google.com> | 2016-04-13 12:34:34 -0700 |
commit | 3968146ba8b8e569e20b5ea35ac157a63ec2c476 (patch) | |
tree | 8dec55e3e8cb9d16e3a739d3094b78768b5ed6b8 /data | |
parent | 8ecdff543359206bf17ad2b014a315c87b74ceca (diff) | |
download | VK-GL-CTS-3968146ba8b8e569e20b5ea35ac157a63ec2c476.tar.gz VK-GL-CTS-3968146ba8b8e569e20b5ea35ac157a63ec2c476.tar.bz2 VK-GL-CTS-3968146ba8b8e569e20b5ea35ac157a63ec2c476.zip |
Update user defined io tessellation tests
Allow only explicit array size that is same as the "vertices"
layout qualifier
Bug: 25389474
Change-Id: If735df219fc6b576ae9656db1053004e566d2297
Diffstat (limited to 'data')
-rw-r--r-- | data/gles31/shaders/tessellation_negative_user_defined_io.test | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/data/gles31/shaders/tessellation_negative_user_defined_io.test b/data/gles31/shaders/tessellation_negative_user_defined_io.test index 32ae31583..1204b6f82 100644 --- a/data/gles31/shaders/tessellation_negative_user_defined_io.test +++ b/data/gles31/shaders/tessellation_negative_user_defined_io.test @@ -115,52 +115,6 @@ case per_patch_structs_containing_arrays "" end -case per_vertex_incorrect_control_explicit_output_array_size_1 - version 310 es - desc "Incorrectly sized tessellation control output array" - expect compile_or_link_fail - require extension { "GL_OES_tessellation_shader" | "GL_EXT_tessellation_shader" } in { tessellation_control, tessellation_evaluation } - vertex "" - #version 310 es - ${VERTEX_DECLARATIONS} - void main() - { - ${VERTEX_OUTPUT} - } - "" - tessellation_control "" - #version 310 es - ${TESSELLATION_CONTROL_DECLARATIONS} - out highp float varyingArray[3]; // size is not equal to gl_MaxPatchVertices - void main() - { - varyingArray[gl_InvocationID] = gl_in[0].gl_Position[gl_InvocationID]; - ${TESSELLATION_CONTROL_OUTPUT} - } - "" - tessellation_evaluation "" - #version 310 es - ${TESSELLATION_EVALUATION_DECLARATIONS} - in highp float varyingArray[gl_MaxPatchVertices]; // size is correct - out mediump float te_out; - void main() - { - te_out = varyingArray[0] * gl_TessCoord.x + varyingArray[1] * gl_TessCoord.y + varyingArray[2]; - ${TESSELLATION_EVALUATION_OUTPUT} - } - "" - fragment "" - #version 310 es - precision mediump float; - ${FRAGMENT_DECLARATIONS} - in mediump float te_out; - void main() - { - ${FRAG_COLOR} = vec4(te_out); - } - "" -end - case per_vertex_incorrect_control_explicit_output_array_size_2 version 310 es desc "Incorrectly sized tessellation control output array" |