freedreno: Fix some indentation
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13160>
This commit is contained in:
@@ -105,7 +105,7 @@ fd3_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
|
||||
.debug = &ctx->debug,
|
||||
.vtx = &ctx->vtx,
|
||||
.info = info,
|
||||
.drawid_offset = drawid_offset,
|
||||
.drawid_offset = drawid_offset,
|
||||
.indirect = indirect,
|
||||
.draw = draw,
|
||||
.key = {
|
||||
|
||||
@@ -83,7 +83,7 @@ fd4_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
|
||||
.debug = &ctx->debug,
|
||||
.vtx = &ctx->vtx,
|
||||
.info = info,
|
||||
.drawid_offset = drawid_offset,
|
||||
.drawid_offset = drawid_offset,
|
||||
.indirect = indirect,
|
||||
.draw = draw,
|
||||
.key = {
|
||||
|
||||
@@ -79,7 +79,7 @@ fd5_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
|
||||
.debug = &ctx->debug,
|
||||
.vtx = &ctx->vtx,
|
||||
.info = info,
|
||||
.drawid_offset = drawid_offset,
|
||||
.drawid_offset = drawid_offset,
|
||||
.indirect = indirect,
|
||||
.draw = draw,
|
||||
.key = {
|
||||
|
||||
@@ -143,7 +143,7 @@ fd6_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
|
||||
.ctx = ctx,
|
||||
.vtx = &ctx->vtx,
|
||||
.info = info,
|
||||
.drawid_offset = drawid_offset,
|
||||
.drawid_offset = drawid_offset,
|
||||
.indirect = indirect,
|
||||
.draw = draw,
|
||||
.key = {
|
||||
|
||||
@@ -289,7 +289,7 @@ fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
|
||||
if (info->index_size) {
|
||||
if (info->has_user_indices) {
|
||||
if (num_draws > 1) {
|
||||
util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
|
||||
util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
|
||||
return;
|
||||
}
|
||||
if (!util_upload_index_buffer(pctx, info, &draws[0], &indexbuf,
|
||||
@@ -305,7 +305,7 @@ fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
|
||||
}
|
||||
|
||||
if ((ctx->streamout.num_targets > 0) && (num_draws > 1)) {
|
||||
util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
|
||||
util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user