radv: simplify a check in radv_fixup_vertex_input_fetches()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Dec 2019 15:46:30 +0000 (16:46 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 4 Dec 2019 07:04:05 +0000 (08:04 +0100)
commitdac6bd29ae8440c27ac687065ace75bdb8e4b71f
tree616f6d28a68ab05a33641503981d4ae0c1ccf8d8
parent3b51259f06b0df97cc79d5255e6696631d378239
radv: simplify a check in radv_fixup_vertex_input_fetches()

The number of loaded channels should always be > 0 now.

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