i965: Fix gen6 pixel_[xy] setup to avoid mixing int and float src operands.
authorEric Anholt <eric@anholt.net>
Mon, 11 Oct 2010 22:24:12 +0000 (15:24 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Oct 2010 22:26:59 +0000 (15:26 -0700)
commit0cadd32b6dc80455802c04b479ec8e768f93ffe1
tree4e3fc5f362a732a92b93db888c7dc5aacecc7dfb
parent17306c60ad61f5096010d210f5d3f6d0b3a99dad
i965: Fix gen6 pixel_[xy] setup to avoid mixing int and float src operands.

Pre-gen6, you could mix int and float just fine.  Now, you get goofy
results.

Fixes:
glsl-arb-fragment-coord-conventions
glsl-fs-fragcoord
glsl-fs-if-greater
glsl-fs-if-greater-equal
glsl-fs-if-less
glsl-fs-if-less-equal
src/mesa/drivers/dri/i965/brw_fs.cpp