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

Author: Rob Clark <[email protected]>
Date:   Thu Apr 21 11:11:59 2022 -0700

freedreno: Misc indent fixes

Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16086>

---

 src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h | 4 ++--
 src/gallium/drivers/freedreno/a6xx/fd6_draw.c     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h 
b/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h
index 93746815ed6..6dfdc31a029 100644
--- a/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h
+++ b/src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h
@@ -41,7 +41,7 @@ static void X(emit_reloc_common)(struct fd_ringbuffer *ring,
 }
 
 static void X(fd_ringbuffer_sp_emit_reloc_nonobj)(struct fd_ringbuffer *ring,
-                                                   const struct fd_reloc 
*reloc)
+                                                  const struct fd_reloc *reloc)
 {
    X(emit_reloc_common)(ring, reloc);
 
@@ -55,7 +55,7 @@ static void X(fd_ringbuffer_sp_emit_reloc_nonobj)(struct 
fd_ringbuffer *ring,
 }
 
 static void X(fd_ringbuffer_sp_emit_reloc_obj)(struct fd_ringbuffer *ring,
-                                                const struct fd_reloc *reloc)
+                                               const struct fd_reloc *reloc)
 {
    X(emit_reloc_common)(ring, reloc);
 
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_draw.c 
b/src/gallium/drivers/freedreno/a6xx/fd6_draw.c
index a7e76679795..68dadda7552 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_draw.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_draw.c
@@ -274,7 +274,7 @@ fd6_draw_vbo(struct fd_context *ctx, const struct 
pipe_draw_info *info,
       ctx->batch->tessellation = true;
    }
 
-       uint32_t index_start = info->index_size ? draw->index_bias : 
draw->start;
+   uint32_t index_start = info->index_size ? draw->index_bias : draw->start;
    if (ctx->last.dirty || (ctx->last.index_start != index_start)) {
       OUT_PKT4(ring, REG_A6XX_VFD_INDEX_OFFSET, 1);
       OUT_RING(ring, index_start); /* VFD_INDEX_OFFSET */

Reply via email to