nvc0/ir: make it possible to have the flags def in def0
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Feb 2017 23:09:02 +0000 (18:09 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 9 Feb 2017 17:57:48 +0000 (12:57 -0500)
commitab00a41a6e111a8243028bc4de5f52035aa30f36
tree00156934bd52422bc83f4d78eb63eab1c4d918cd
parent61d7676df779829e713cdbc2569f7ab50492078d
nvc0/ir: make it possible to have the flags def in def0

There's all kinds of logic that doesn't like there being holes in defs
or srcs lists. Avoid them. This also fixes the sched logic for maxwell.

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