nvc0/ir: fix default insertion position in pre-SSA lowering pass
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 6 Jan 2012 21:19:42 +0000 (22:19 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 9 Jan 2012 23:36:46 +0000 (00:36 +0100)
commit405bd00f3c98cb78d1dda1f3bf5d74155b18cd57
treec9008cb4f1c43ad430f807ff28ae808f3a2b9677
parentdc4c821f0817a3db716f965692fb701079f66340
nvc0/ir: fix default insertion position in pre-SSA lowering pass

Always set position to insert before the current instruction,
the previous behaviour led to confusion (bug in checkPredicate
for BBs with only a single conditional branch).
src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp