Fix explicit TCS output array size not matching gl_MaxPatchVertices.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 9 Jun 2015 20:32:17 +0000 (13:32 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Wed, 10 Jun 2015 17:47:10 +0000 (10:47 -0700)
commitaabcb3260e4d63ae9fff43a9d693d9273fd5993b
tree50f5e19ef7eb3fbad1de654a9af5fb224efd686d
parent58aae3be8e0f69d8e48f5a50dca830b0bfc1b136
Fix explicit TCS output array size not matching gl_MaxPatchVertices.

Fix GLES3 tessellation.user_defined_io.per_vertex_* cases declaring explicitly
sized output (block) array with invalid size. Size, if declared, must match
both gl_MaxPatchVertices and the size declared in the layout declaration. Fix
cases by always using implicit array sizes in per-vertex TCS output arrays.

See Khronos bug #12908 (issues 2 and 3) for details.

Bug: 21730725
Change-Id: I9c5e674893590e0f004708139b507fc5446424ae
modules/gles31/functional/es31fTessellationTests.cpp