gm107/ir: avoid letting the lowering pass get out of sync
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 24 Jul 2015 05:25:13 +0000 (01:25 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 17 Aug 2015 05:01:02 +0000 (01:01 -0400)
commitf13073b7755e78306975a24f3286ff5a9c910a47
tree40228fbfd275e465d9cb9b4f4aa95ea5ec3cb5c2
parent2514c78fba507ca8ab94d2e6de553b8b20d653d2
gm107/ir: avoid letting the lowering pass get out of sync

There's a lot of functionality duplicated in the gm107 lowering pass
from the nvc0 pass. As that one gets updated, the gm107 one falls
behind. Avoid this by sharing the code.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h