nv50/ir: fix cutoff for using r63 vs r127 when replacing zero
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Dec 2015 02:01:15 +0000 (21:01 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Dec 2015 04:15:29 +0000 (23:15 -0500)
commitf920f8eb026d39c0adb547a90399e76b8351fec6
treef65b02d09b412329de952fd9a76195d9aef5b463
parent44260d908062a4771c30ab635dd527f4266dbaec
nv50/ir: fix cutoff for using r63 vs r127 when replacing zero

The only effect here is a space savings - 822 programs in shader-db
affected with the following overall change:

total bytes used in shared programs   : 44154976 -> 44139880 (-0.03%)

Fixes: 641eda0c (nv50/ir: r63 is only 0 if we are using less than 63 registers)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp