zink: fix some indentation
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31413>
This commit is contained in:
committed by
Marge Bot
parent
be3424dee8
commit
8ca6549500
@@ -4036,20 +4036,20 @@ zink_flush(struct pipe_context *pctx,
|
||||
|
||||
bool has_work = ctx->bs->has_work | ctx->bs->has_reordered_work | ctx->bs->has_unsync;
|
||||
if (!has_work) {
|
||||
if (pfence) {
|
||||
/* reuse last fence */
|
||||
bs = ctx->last_batch_state;
|
||||
}
|
||||
if (!deferred) {
|
||||
struct zink_batch_state *last = ctx->last_batch_state;
|
||||
if (last) {
|
||||
sync_flush(ctx, last);
|
||||
if (last->is_device_lost)
|
||||
check_device_lost(ctx);
|
||||
}
|
||||
}
|
||||
if (ctx->tc && !ctx->track_renderpasses)
|
||||
tc_driver_internal_flush_notify(ctx->tc);
|
||||
if (pfence) {
|
||||
/* reuse last fence */
|
||||
bs = ctx->last_batch_state;
|
||||
}
|
||||
if (!deferred) {
|
||||
struct zink_batch_state *last = ctx->last_batch_state;
|
||||
if (last) {
|
||||
sync_flush(ctx, last);
|
||||
if (last->is_device_lost)
|
||||
check_device_lost(ctx);
|
||||
}
|
||||
}
|
||||
if (ctx->tc && !ctx->track_renderpasses)
|
||||
tc_driver_internal_flush_notify(ctx->tc);
|
||||
} else {
|
||||
bs = ctx->bs;
|
||||
if (deferred && !(flags & PIPE_FLUSH_FENCE_FD) && pfence)
|
||||
|
||||
Reference in New Issue
Block a user