nvc0/ir: flush denorms to zero in non-compute shaders
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 28 Apr 2015 07:30:08 +0000 (03:30 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 29 Apr 2015 00:17:03 +0000 (20:17 -0400)
commit6fe0d4f0354418c6e68dd352996e9891ddd4dfd6
tree3ee26e183db21e11e71ccef4972b99b786df30b9
parent66985d2a6de0afd9446c92dce999f00efa528d31
nvc0/ir: flush denorms to zero in non-compute shaders

This will set the FTZ flag (flush denorms to zero) on all opcodes that
can take it.

This resolves issues in Unigine Heaven 4.0 where there were solid-filled
boxes popping up.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89455
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h