Re: [Mesa-dev] [PATCH] i965/fs: Fix projector==1.0 optimization pre-gen6.

2012-01-06 Thread Ian Romanick
On 01/05/2012 06:59 PM, Eric Anholt wrote: The optimization was supposed to turn an attribute component that was always 1.0 into a mov of 1.0. But by leaving loop this patch removes out of that test, we applied the projection correction to the 1.0 and got some other value, breaking openarena onc

[Mesa-dev] [PATCH] i965/fs: Fix projector==1.0 optimization pre-gen6.

2012-01-05 Thread Eric Anholt
The optimization was supposed to turn an attribute component that was always 1.0 into a mov of 1.0. But by leaving loop this patch removes out of that test, we applied the projection correction to the 1.0 and got some other value, breaking openarena once it was converted to using the new compiler