nvc0: add support for MUL_ZERO_WINS property
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 14 Jan 2017 23:55:25 +0000 (18:55 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 24 Jan 2017 01:37:14 +0000 (20:37 -0500)
commit8c764a2321ad51dacd5538b0a59f3ca446d80747
tree54263f9f4c45958d7eaf8ca2f9da9de3d181bdc4
parente1346f25bf6e40496c8db868fe03e20b900c41e4
nvc0: add support for MUL_ZERO_WINS property

This sets the dnz flag on all the relevant multiplication operations. At
emission time, this will only be supported by nvc0+, so nv50 will need a
different solution.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c