Mesa (master): intel/decoder: Fix indentation

Matt Turner mattst88 at kemper.freedesktop.org
Mon May 15 20:06:30 UTC 2017


Module: Mesa
Branch: master
Commit: aaa0329b5fdd0687d19c834bffb46a51dcc4f9f4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaa0329b5fdd0687d19c834bffb46a51dcc4f9f4

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Apr  7 22:37:00 2017 -0700

intel/decoder: Fix indentation

Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

 src/intel/common/gen_decoder.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 35aa9f63ff..e1a2fcf9d1 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -433,8 +433,8 @@ end_element(void *data, const char *name)
    struct gen_spec *spec = ctx->spec;
 
    if (strcmp(name, "instruction") == 0 ||
-      strcmp(name, "struct") == 0 ||
-      strcmp(name, "register") == 0) {
+       strcmp(name, "struct") == 0 ||
+       strcmp(name, "register") == 0) {
       size_t size = ctx->nfields * sizeof(ctx->fields[0]);
       struct gen_group *group = ctx->group;
 
@@ -446,8 +446,8 @@ end_element(void *data, const char *name)
 
       for (int i = 0; i < group->nfields; i++) {
          if (group->fields[i]->start >= 16 &&
-            group->fields[i]->end <= 31 &&
-            group->fields[i]->has_default) {
+             group->fields[i]->end <= 31 &&
+             group->fields[i]->has_default) {
             group->opcode_mask |=
                mask(group->fields[i]->start % 32, group->fields[i]->end % 32);
             group->opcode |=




More information about the mesa-commit mailing list