radv: only enable one channel when exporting prim id
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 20 Mar 2018 09:07:30 +0000 (10:07 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 20 Mar 2018 20:54:48 +0000 (21:54 +0100)
commit4e9b0b39b592e2bf79ac577ec6cd091a924359ae
tree00e1432309ffb72e320e05b7a2af801947fc6219
parent5770e1d89e0eb49eb3c9547e8657d636b6e7e5d7
radv: only enable one channel when exporting prim id

It's a 32-bit integer like the layer.

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