ac/nir: compute correct number of user SGPRs on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Feb 2018 22:04:53 +0000 (23:04 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 9 Feb 2018 09:16:04 +0000 (10:16 +0100)
commit3a2bb4db23e4ac742363c2bd4769a77b4291231d
tree2d20b4a69bb6f2b00a420a254418405897e75517
parent171076f0826f932606d35e6a315b74a6598e2d6f
ac/nir: compute correct number of user SGPRs on GFX9

For merged shaders.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c