nir/lower-atomics-to-ssbo: don't set num_components
authorRob Clark <robdclark@chromium.org>
Mon, 8 Jun 2020 21:02:16 +0000 (14:02 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 02:48:18 +0000 (02:48 +0000)
commit2e5b5d9584fc85dd4e0ea3eb55f457bb269c4080
tree03803af075f7df202913870619dc93c7c32d8da2
parentf70d6030e3c0fe3eda912994801330146168fdd4
nir/lower-atomics-to-ssbo: don't set num_components

Of the possible intrinsics generated, only load_ssbo is vectorized (and
store_ssbo is never generated)

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/nir/nir_lower_atomics_to_ssbo.c