ac/nir: assign argument param pointers in one place.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 20:11:05 +0000 (21:11 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jun 2017 05:00:23 +0000 (06:00 +0100)
commit7b46e2a74bfd7aa9616abeaf00d79f40a03f808d
treef0a1ebbcc021dff0c22aa8d636930a1cbc503604
parentb19cafd4417f06026181514f8546314651bf23a9
ac/nir: assign argument param pointers in one place.

Instead of having the fragile code to do a second pass, just
give the pointers you want params in to the initial code,
then call a later pass to assign them.

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