spriv: don't set num_components for non-vectorised intrinsics
authorRob Clark <robdclark@chromium.org>
Tue, 9 Jun 2020 15:35:26 +0000 (08:35 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 02:48:18 +0000 (02:48 +0000)
commit5b5b45ebf61605b970cf9b64e0937260b7219f3f
treebba8488197887ef86175e5a854cdce9c1735f78e
parent2e5b5d9584fc85dd4e0ea3eb55f457bb269c4080
spriv: don't set num_components for non-vectorised intrinsics

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5371>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_subgroup.c