Module: Mesa
Branch: main
Commit: 1c3706fc28e780a1c5e0ff5756e323b41b8f7e05
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c3706fc28e780a1c5e0ff5756e323b41b8f7e05

Author: Kenneth Graunke <[email protected]>
Date:   Mon Aug 21 12:44:20 2023 -0700

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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24842>

---

 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)

Reply via email to