nir/builder: add bitsize conversion helpers
authorRob Clark <robdclark@chromium.org>
Wed, 3 Jun 2020 19:12:54 +0000 (12:12 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 21:24:13 +0000 (21:24 +0000)
commit0f3255ef0aefaf7a7aca4f7ee8a334cf91bf2c99
tree5e1483a8027116d184b7383bae1ac428360b90b2
parent866618c5c86fbbb59036845c1d6e38d8e526b525
nir/builder: add bitsize conversion helpers

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