From 1c3706fc28e780a1c5e0ff5756e323b41b8f7e05 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 21 Aug 2023 12:44:20 -0700 Subject: [PATCH] nir: Fix function parameter indentation in nir_opt_barriers.c The first parameter should be on the first line, and any subsequent lines should line up. Acked-by: Alyssa Rosenzweig Reviewed-by: Ian Romanick Part-of: --- src/compiler/nir/nir_opt_barriers.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/compiler/nir/nir_opt_barriers.c b/src/compiler/nir/nir_opt_barriers.c index 21eeb2d66f6..dc5c258b898 100644 --- a/src/compiler/nir/nir_opt_barriers.c +++ b/src/compiler/nir/nir_opt_barriers.c @@ -38,8 +38,9 @@ combine_all_barriers(nir_intrinsic_instr *a, nir_intrinsic_instr *b, void *_) } static bool -nir_opt_combine_barriers_impl( - nir_function_impl *impl, nir_combine_barrier_cb combine_cb, void *data) +nir_opt_combine_barriers_impl(nir_function_impl *impl, + nir_combine_barrier_cb combine_cb, + void *data) { bool progress = false; @@ -80,8 +81,9 @@ nir_opt_combine_barriers_impl( /* Combine adjacent scoped barriers. */ bool -nir_opt_combine_barriers( - nir_shader *shader, nir_combine_barrier_cb combine_cb, void *data) +nir_opt_combine_barriers(nir_shader *shader, + nir_combine_barrier_cb combine_cb, + void *data) { /* Default to combining everything. Only some backends can do better. */ if (!combine_cb)