-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Romanick wrote: > Brian Paul wrote: >> Here's a patch for piglit's glsl-reload-source test. > >> With this patch, plus the previously posted patch for Mesa, the test passes. > > This test passes as-is on both major closed-source drivers on Linux. We > can change this test, but we do need a new test for this behavior. Mesa > needs to match the de facto standard even if it deviates from the letter > of the spec. You can be sure that there's some app that unknowingly > relies on this underspecified behavior.
Actually, the test is buggy, and it just passes by dumb luck on other implementations. The spec is quite clear that the affect of glBindAttribLocation is not seen until *after* a subsequent call to glLinkProgram. Does the test pass on Mesa if the glBindAttribLocation call is moved before the link_program call? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksr3+AACgkQX1gOwKyEAw9i+wCfeuSt0mYqmbi4QLCGNgswS+Nz NJ4An25Bkum54DMP8/kRuTy29CdZMSJ2 =uLPe -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev