Tessellation control shader inputs should be declared as arrays, as you'll get a value for each patch vertex. The number of array elements is set by glPatchParameteri(GL_PATCH_VERTICES,n); the...