test-shader: The tex_coord varying is now an array under GLES2
authorNeil Roberts <neil@linux.intel.com>
Thu, 15 Jul 2010 16:10:31 +0000 (17:10 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 22 Jul 2010 20:48:16 +0000 (21:48 +0100)
commita1c74209795c341dc89dbe2f6c3a91242a8c813c
treef1c742ccf0daf46b0dd9594d3c4f5df173cbc418
parent488e376b7e356614494bee62ed0437ea721c2447
test-shader: The tex_coord varying is now an array under GLES2

Since the GLES2 wrapper grew support for multi-texturing, the
tex_coord varying variable defined in the vertex shader is actually an
array of texture coordinates so it ought to match in the fragment
shader in test-shader. This seemed to work anyway under Mesa/Intel but
under NVidia it does not so I don't think it's safe to assume that
linking a non-array varying with an array will work.
tests/interactive/test-shader.c