spirv: do not set num_components for non-vectorized mbcnt_amd intrinsic
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Jun 2020 07:08:02 +0000 (09:08 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Jun 2020 06:57:13 +0000 (06:57 +0000)
commit4d13e35315ed7ae166d221e87d5dce26ed1e9b92
treec0d932e4ba53077164985ac1a7178825a8527259
parentb2e9d21fdd679fba80c358ed7871c30987d10e05
spirv: do not set num_components for non-vectorized mbcnt_amd intrinsic

Fixes: 167fa2887f0 ("nir/validate: validate intr->num_components")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5493>
src/compiler/spirv/vtn_amd.c