radv: simplify allocating user SGPRS for descriptor sets
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Jan 2019 08:21:32 +0000 (09:21 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Jan 2019 15:30:36 +0000 (16:30 +0100)
commit320b058d32bd37150bf82b66594db292bb65bb94
treeb16e686789c1afa7317376337ad62d2258c98ce9
parentd1994ed22911884b5e4481065314306fc6c3d063
radv: simplify allocating user SGPRS for descriptor sets

Unnecesary to check the current stages if desc_set_used_mask
is used.

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