nvc0/ir: optimize set & 1.0 to produce boolean-float sets
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 4 May 2015 02:15:16 +0000 (22:15 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 May 2015 20:51:05 +0000 (16:51 -0400)
commitd2a474e8d4b03f10aec57c7f7740addad1e1ea9d
tree8fd2ac629d7f91a5b7b2587a777f7214fb195f5f
parente5ad19a46e87ed22943d7f6ad046f974fd5977e1
nvc0/ir: optimize set & 1.0 to produce boolean-float sets

This has started to happen more now that the backend is producing
KILL_IF more often.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp