radv: Only allow 16 user SGPRs for compute on GFX9+.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 16 Sep 2018 10:28:33 +0000 (12:28 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 16 Sep 2018 10:50:58 +0000 (12:50 +0200)
commit0dd8189f159258ad8684036b0d696dbb58a268ca
tree8a161bf55d48ec7076f16b8e66c104d2055dd44a
parentd97c892584cd0641913de2635689c6b59c98816e
radv: Only allow 16 user SGPRs for compute on GFX9+.

Apparently for compute there are only 16 instead of the 32 for the
graphics path.

Fixes dEQP-VK.binding_model.descriptorset_random.sets16.noarray.ubolimitlow.sbolimitlow.imglimitlow.noiub.comp.0

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c