radeonsi/nir: always set input_usage_mask as using all components
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 5 Feb 2018 22:52:47 +0000 (09:52 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 6 Feb 2018 21:38:52 +0000 (08:38 +1100)
commit1142b1d3e10815311e82cca417a62bd0b9bd21ac
treed9c23f2e331ab182e923b4d6f4b2e3080c5b12e2
parentffeebcfa7eca90b62ca362a16b5f08ae44ff9ac8
radeonsi/nir: always set input_usage_mask as using all components

This fixes a regression for now, in the future we should gather
the used components properly.

V2: just set for VS and correctly handle doubles

Fixes: be973ed21f6e "radeonsi: load the right number of components for VS inputs and TBOs"
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader_nir.c