i965: Split brw_nir_lower_inputs/outputs into per-stage functions.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Feb 2016 06:02:28 +0000 (22:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Feb 2016 23:55:59 +0000 (15:55 -0800)
commitb96ddd2e52e7205e5820714f2ad1028b666426c6
treef618fca61af0f1281448a25fc93844648384545d
parentd33c478bedc6ac0b2bd2646e443e690cdfb2b640
i965: Split brw_nir_lower_inputs/outputs into per-stage functions.

These functions are both giant switch statements where most cases don't
overlap at all.  Let's put the bulk of the work in per-stage helpers.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_nir.c