nir: add some swizzle helpers
authorRob Clark <robdclark@chromium.org>
Tue, 10 Mar 2020 21:38:12 +0000 (14:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Apr 2020 18:00:17 +0000 (18:00 +0000)
commit4638a16a9302a0e7ebf95dc5e025d2623127cf25
treeef6fcedd81301b9fc88f47c417823ba8d00ad36f
parente78a7a182524f091e2d77ba97bfbe057c3975cab
nir: add some swizzle helpers

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4455>
src/compiler/nir/nir.h