gk110/ir: fix sched calculator to consider all registers in the ISA
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 17 Aug 2015 06:11:55 +0000 (02:11 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 17 Aug 2015 06:46:16 +0000 (02:46 -0400)
commit2f5ee9bf27b912726dea969a5e5159e1d6665f6c
tree2bfdaa45f7405ede8a2af604b226040cb59932bd
parente32325fc85f0d1485dec63b363c18d76f4e89714
gk110/ir: fix sched calculator to consider all registers in the ISA

GK110/GK208 have 256 registers, not 64. Find out the number of registers
from the target to avoid unnecessary iteration for pre-GK110.

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