This patch needs a little more work, but it fixes the piglit
vpfp-generic big-param.vpfp test.

The test failed because too many parameters were being allocated.
Actually, the underlying assertion needs to be replaced with a real
error handler.  But the problem this test hit was that different (but
similar) constants weren't consolidated with swizzling.  So if 256.0
appeared in several places in the program, a different parameter slot
was allocated for each.

Ian, maybe you can take a look at this.  I have more clean-ups, but I
have to stop for now.

-Brian

Attachment: consolidate-constants.patch
Description: Binary data

------------------------------------------------------------------------------
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

Reply via email to