i965/fs: Fix accidental type conversion in header setup
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 12 Oct 2013 23:39:47 +0000 (12:39 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Tue, 22 Oct 2013 05:56:14 +0000 (18:56 +1300)
commitc4de86fd26520f1bc5650c1f08a05fa0845dd881
treef0cbcfffd26543ad251b8ddf35a1336eb44a7ca9
parentb38af01ccfb76dc39baf4d65b663300d81f144a2
i965/fs: Fix accidental type conversion in header setup

Previously one side could be UD while the other was float.

V2: Prefer float; apparently IVB can dispatch float ops faster. (Thanks
Eric)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp