-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tom fogal wrote: > The appended GLSL fragment shader is giving me a syntax error using > 2ba98efdf6653a4cb885d576d2e6f349c69679d4 . A bit of experimentation > suggests it is the array of colors created. Does Mesa support: > > vec4 somearray[] = vec4[] ( > vec4(0.0, 0.0, 0.0, 0.0) > );
Brian did some work on array initialization syntax a few months ago, but there's always the possibility of bugs. My guess is that it only correctly works for arrays with constant values at global scope. I doubt this usage has gotten much testing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpku9MACgkQX1gOwKyEAw9SfQCfSlOrrZKbYm2W/gD3cn6vqv8f C40AnjZrWoK2gKtd0XVqf5KCG7hBAnzW =eyBI -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
