radeonsi: don't crash if input_usage_mask is 0 for a VS input
authorMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2020 02:12:12 +0000 (22:12 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2020 02:45:38 +0000 (22:45 -0400)
commit0464ee7f9d9383175c31192500ee9e6d9f01fe60
tree7608947f8d7d358a1dee0b8fdca1fd0e0165f71e
parentbf23ff83e69a76424ea083c6641b952868e4b87c
radeonsi: don't crash if input_usage_mask is 0 for a VS input

This will start happening with the lowered IO intrinstics and new scanning
code.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6445>
src/gallium/drivers/radeonsi/si_shader_llvm_vs.c