nv50/ir/gk110: fix set with f32 dest
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 6 May 2014 23:54:59 +0000 (19:54 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 8 May 2014 00:40:46 +0000 (20:40 -0400)
commite7047f2917c6bcc714fc6a350ea74e45b0760a77
tree674c647253b45a6e085db956b8b399d54800c334
parent5a40fe03f7d7a32b1dce675e1d55f40f72090569
nv50/ir/gk110: fix set with f32 dest

Should fix comparison opcodes like SGE/SLT/etc which expected a float to
be returned. These were previously getting integer 0/-1 values.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: 10.2 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp