nir/builder: Fix indentation of nir_type_convert

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20067>
This commit is contained in:
Jason Ekstrand 2022-11-29 12:50:33 -06:00 committed by Marge Bot
parent 8a406fe055
commit c5fbcab803

View file

@ -434,9 +434,9 @@ nir_compare_func(nir_builder *b, enum compare_func func,
nir_ssa_def * nir_ssa_def *
nir_type_convert(nir_builder *b, nir_type_convert(nir_builder *b,
nir_ssa_def *src, nir_ssa_def *src,
nir_alu_type src_type, nir_alu_type src_type,
nir_alu_type dest_type) nir_alu_type dest_type)
{ {
assert(nir_alu_type_get_type_size(src_type) == 0 || assert(nir_alu_type_get_type_size(src_type) == 0 ||
nir_alu_type_get_type_size(src_type) == src->bit_size); nir_alu_type_get_type_size(src_type) == src->bit_size);