radv: move {load,store}_var intrinsics scanning in different functions
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 10 May 2018 15:15:41 +0000 (17:15 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 May 2018 10:37:58 +0000 (12:37 +0200)
commit553418af1ecbaed04e24197caaf1febd575fec41
tree0ff84135be2a6931d60138e0fe7682e200305333
parentff7521c9bac3d52f645c68deac7084e20b81b2f5
radv: move {load,store}_var intrinsics scanning in different functions

These are going to be crazy and we are probably going to add
more scan stuff in the future. Also use switch cases instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/vulkan/radv_shader_info.c