nir: extract out convert_to_bitsize() helper
authorRob Clark <robdclark@chromium.org>
Wed, 3 Jun 2020 19:09:59 +0000 (12:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 21:24:13 +0000 (21:24 +0000)
commit866618c5c86fbbb59036845c1d6e38d8e526b525
tree8c832b4a5a6e5cc70e79d8e987597772b7908910
parent924bfb65604238439374c314bd02ff2b99441e21
nir: extract out convert_to_bitsize() helper

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
src/compiler/nir/nir_lower_bit_size.c