radv: do not load the local invocation index when it's unused
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 16:32:41 +0000 (17:32 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 21:22:26 +0000 (22:22 +0100)
commit90c3bf07892c27c86c2474b14388e6b627454d76
treec6120db7014f93241ec7d215db92a7b83eb10644
parent2294d35b243dee15af15895e876a63b7d22e48cc
radv: do not load the local invocation index when it's unused

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
src/amd/vulkan/radv_shader.c