nvc0/ir: be more careful about preserving modifiers in SHLADD creation
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 12 Oct 2016 17:30:57 +0000 (13:30 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 14 Oct 2016 01:44:03 +0000 (21:44 -0400)
commita6d6eff2e6ea2ccd585fe9bf1e159979cd3047df
treed1cd07ce19c61e251860f77cebb97399a7f506d7
parent3a2869aacabc0021d757de0a6055e1e530d82e81
nvc0/ir: be more careful about preserving modifiers in SHLADD creation

src2 was being given the wrong modifier, and we were not properly
managing the modifier on the SHL source either.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp