radv: replace grid_components_used by uses_grid_size
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 11:51:07 +0000 (12:51 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 21:19:42 +0000 (22:19 +0100)
commit2e58ef46a8f31888b6507de81d7c48ac6e57b2e9
tree8e59fc8af72ff05b234c0ae15a5ce85f1a159f65
parent97e57740d852aee282d5902de5a63c32071473da
radv: replace grid_components_used by uses_grid_size

Use a boolean instead because the number of needed SGPRs
is always 3.

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