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 <alyssa@rosenzweig.io> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24842>
This commit is contained in:
committed by
Marge Bot
parent
17a35412dc
commit
1c3706fc28
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user