gm107/ir: make use of ADD32I for all immediates
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 Jul 2016 12:47:57 +0000 (14:47 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 Jul 2016 16:07:15 +0000 (18:07 +0200)
commit9c63224540ef0f727aae24274fa4afdf2e2376ac
tree2456da4db7af934c8bd034023dfdecd858a55bbc
parent0904a2ba9717e5706f8869dc9244e2c742fadd12
gm107/ir: make use of ADD32I for all immediates

ADD only allows to emit 19-bits immediates.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp