From 41fcffeda0d5baa01a57fdcfea49891cf8bb599a Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 21 Apr 2022 13:08:09 +0200 Subject: [PATCH] microsoft/compiler: fixup indentation Acked-by: Boris Brezillon Part-of: --- src/microsoft/compiler/dxil_dump.c | 2 +- src/microsoft/compiler/dxil_nir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/microsoft/compiler/dxil_dump.c b/src/microsoft/compiler/dxil_dump.c index 225019b98a7..f7144160de3 100644 --- a/src/microsoft/compiler/dxil_dump.c +++ b/src/microsoft/compiler/dxil_dump.c @@ -368,7 +368,7 @@ dump_constants(struct dxil_dumper *d, struct list_head *list) _mesa_string_buffer_printf(d->buf, " %%%d", cnst->array_values[i]->id); dump_type_name(d, cnst->value.type); - if (i != cnst->value.type->array_or_vector_def.num_elems - 1) + if (i != cnst->value.type->array_or_vector_def.num_elems - 1) _mesa_string_buffer_append(d->buf, ","); _mesa_string_buffer_append(d->buf, " "); } diff --git a/src/microsoft/compiler/dxil_nir.c b/src/microsoft/compiler/dxil_nir.c index 82f677d0c64..ec616facce9 100644 --- a/src/microsoft/compiler/dxil_nir.c +++ b/src/microsoft/compiler/dxil_nir.c @@ -597,7 +597,7 @@ ubo_to_temp_patch_deref_mode(nir_deref_instr *deref) deref->modes = nir_var_shader_temp; nir_foreach_use(use_src, &deref->dest.ssa) { if (use_src->parent_instr->type != nir_instr_type_deref) - continue; + continue; nir_deref_instr *parent = nir_instr_as_deref(use_src->parent_instr); ubo_to_temp_patch_deref_mode(parent);