From b63cc83f6a47bc0ed88c2936d65dffbc25daad98 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 4 Jul 2022 08:16:41 -0700 Subject: [PATCH] freedreno/a6xx: Fix indentation Another victim of automated re-indenting being unaware of the semantics. Re-indent this to put each dword of the packet on it's own line to make the size of the packet more clear. Signed-off-by: Rob Clark Part-of: --- src/gallium/drivers/freedreno/a6xx/fd6_const.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_const.c b/src/gallium/drivers/freedreno/a6xx/fd6_const.c index 284803b21af..a75272c187e 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_const.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_const.c @@ -47,21 +47,21 @@ fd6_emit_const_user(struct fd_ringbuffer *ring, uint32_t align_sz = align(sizedwords, 4); if (fd6_geom_stage(v->type)) { - OUT_PKTBUF( - ring, CP_LOAD_STATE6_GEOM, dwords, align_sz, + OUT_PKTBUF(ring, CP_LOAD_STATE6_GEOM, dwords, align_sz, CP_LOAD_STATE6_0(.dst_off = regid / 4, .state_type = ST6_CONSTANTS, .state_src = SS6_DIRECT, .state_block = fd6_stage2shadersb(v->type), .num_unit = DIV_ROUND_UP(sizedwords, 4)), - CP_LOAD_STATE6_1(), CP_LOAD_STATE6_2()); + CP_LOAD_STATE6_1(), + CP_LOAD_STATE6_2()); } else { - OUT_PKTBUF( - ring, CP_LOAD_STATE6_FRAG, dwords, align_sz, + OUT_PKTBUF(ring, CP_LOAD_STATE6_FRAG, dwords, align_sz, CP_LOAD_STATE6_0(.dst_off = regid / 4, .state_type = ST6_CONSTANTS, .state_src = SS6_DIRECT, .state_block = fd6_stage2shadersb(v->type), .num_unit = DIV_ROUND_UP(sizedwords, 4)), - CP_LOAD_STATE6_1(), CP_LOAD_STATE6_2()); + CP_LOAD_STATE6_1(), + CP_LOAD_STATE6_2()); } } void