amd/common: add new add_arg() helper for SGPRs/VGPRs arguments
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 Dec 2017 19:55:58 +0000 (20:55 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Dec 2017 09:24:57 +0000 (10:24 +0100)
commitf1242a897687eab3ab969cec280a2f7f9e4795ae
tree7f8491cdad8b235ed59908abdc328c4f61446a11
parentbedfa06eaf242a87c1b590f1504b8082d3d8ac1f
amd/common: add new add_arg() helper for SGPRs/VGPRs arguments

The idea is to clean up the add arguments logic.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c