ac/nir: move gpr counting inside argument handling.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 20:20:33 +0000 (21:20 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jun 2017 05:00:30 +0000 (06:00 +0100)
commit1ec4f008a2b5348828a4a2e48cd7129811ff3fe4
treeb4d5a05b9de926178573d45d4c861f4d89e657e3
parent7b46e2a74bfd7aa9616abeaf00d79f40a03f808d
ac/nir: move gpr counting inside argument handling.

This just moves this code in here to it's cleaner.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c