nouveau: fix regression since float comparison instructions (v2)
authorDave Airlie <airlied@gmail.com>
Tue, 10 Sep 2013 02:02:30 +0000 (12:02 +1000)
committerDave Airlie <airlied@gmail.com>
Sun, 15 Sep 2013 22:32:42 +0000 (08:32 +1000)
commitbbe3d6dc29f218e4d790e5ea359d3c6736e94226
tree0226ddb5e5c01094fae3f484882b158d90c0161e
parent6f5229512906f8d545ed88dc2703f3c8ec45dc17
nouveau: fix regression since float comparison instructions (v2)

Fix the return type and allow src and dst types for comparison
to be separate, this at least fixes the two test cases I've written.

v2: drop the u32->s32 change

Acked-by: Christoph Bumiller <christoph.bumiller@speed.at>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.h
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp