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.


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 
Mesa3d-dev mailing list

Reply via email to