mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 21:10:31 +01:00
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 <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17341>
This commit is contained in:
parent
f2d9805f9b
commit
b63cc83f6a
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue