freedreno/a3xx: fix for unused inputs
authorRob Clark <robclark@freedesktop.org>
Tue, 25 Feb 2014 13:02:28 +0000 (08:02 -0500)
committerRob Clark <robclark@freedesktop.org>
Sun, 2 Mar 2014 16:26:35 +0000 (11:26 -0500)
commit76924e3b5178aef80804a8933e764661df6b37df
tree1672d3126320477a6835e9e386e4f4d07330a67a
parentbefbda56a246f77797bdf13fc005353441db2879
freedreno/a3xx: fix for unused inputs

An unused input might not have a register assigned.  We don't want bogus
regid to result in impossibly high max_reg..

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a3xx/ir3_ra.c