nv50/ir: UCMP arguments are float, so make sure modifiers are applied
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Jul 2015 23:09:09 +0000 (19:09 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Jul 2015 00:23:03 +0000 (20:23 -0400)
commitf70719cc4b64e12310dfe8825a8e2d4bce970673
tree98e20af42f2307ff08298fd10330825dc20a30df
parent83984f134b4a1e2829cb238c404bc82c98be6082
nv50/ir: UCMP arguments are float, so make sure modifiers are applied

The first argument to UCMP needs to be compared against 0, but the
latter arguments are treated as float and need to be able to properly
apply neg/abs arguments. Adjust the inferSrcType function accordingly.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp