nvc0/ir: set ftz when sources are floats, not just destinations
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 May 2015 20:40:08 +0000 (16:40 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 22 May 2015 20:51:05 +0000 (16:51 -0400)
commitd1eea18a595a468dbc2267a8d14197a3b1a5a4b6
treec16b114869145404193dc9ad314a84cf0e6f58a0
parenta85aba190dfab02ffccf744bad5ad10357394de0
nvc0/ir: set ftz when sources are floats, not just destinations

In the case of a compare, the destination might be a predicate, but we
still want to flush denorms.

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_lowering_nvc0.cpp