nvc0/ir: fold postfactor into immediate
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Dec 2015 01:35:19 +0000 (20:35 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Dec 2015 23:51:15 +0000 (18:51 -0500)
commitff61ac48387d3f42ede50a572c11f404f4cd3abb
treeeaf52ba8091929c835cbb3230289d117bf406348
parent52a800a687ee68483fe7cd83b137630b74e2127b
nvc0/ir: fold postfactor into immediate

SM20-SM50 can't emit a post-factor in the presence of a long immediate.
Make sure to fold it in.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp