i965: Fix new FS handling of builtin uniforms with packed scalars in structs.
authorEric Anholt <eric@anholt.net>
Thu, 30 Sep 2010 20:26:38 +0000 (13:26 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Sep 2010 20:45:42 +0000 (13:45 -0700)
commitc6960e4471abe287448b9d0e7e6519d588cdf43c
treeb48af23d142a28d051970171160cb6464f7c3ae1
parenta7cddd7de3123eb13e68c35aa111ff4060669f59
i965: Fix new FS handling of builtin uniforms with packed scalars in structs.

We were pointing each element at the .x channel of the
ParameterValues.

Fixes glsl1-linear fog.
src/mesa/drivers/dri/i965/brw_fs.cpp