nir: add and use nir_intrinsic_has_ helpers
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 20 Aug 2020 13:01:23 +0000 (14:01 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 Aug 2020 16:47:00 +0000 (16:47 +0000)
commit7530f66c1625388041877fea216ee89b659efd94
treecfd7f77d27d54a96e265c673adf8bdb790038fba
parent9c1e0d86a813af7609acf42cfe6bec7401d6405f
nir: add and use nir_intrinsic_has_ helpers

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6402>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io.c
src/compiler/nir/nir_lower_wrmasks.c
src/compiler/nir/nir_opt_load_store_vectorize.c