radv: fix computation of user sgprs for 32-bit pointers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 May 2018 14:57:54 +0000 (16:57 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 22 May 2018 13:53:29 +0000 (15:53 +0200)
commit75e919c0454dcc759dce69c46717356980f18fd8
tree0f3adb009a30cafe8a381c06235859d8187fb98f
parentc5536fc8130f96d3990536852c129ae52a0e8351
radv: fix computation of user sgprs for 32-bit pointers

With 32-bit pointers we only need one user SGPR per desc set.

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