glsl-1.10: initialise texcoord array in test
Otherwise compiler optimisation can simply unroll the second loop ignoring n.
Also move the test to a more appropriate location while we are at it.
Edited by Timothy Arceri
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Otherwise compiler optimisation can simply unroll the second loop ignoring n.
Also move the test to a more appropriate location while we are at it.