Mesa (main): microsoft/compiler: fixup indentation

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 29 07:16:49 UTC 2022


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Apr 21 13:08:09 2022 +0200

microsoft/compiler: fixup indentation

Acked-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16079>

---

 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);



More information about the mesa-commit mailing list