etnaviv: remove superfluous braces

etnaviv gernerally uses the style where no braces are used if the
statement inside a conditional clause fits on a single line. Remove
some superfluous braces to be more consistent.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24164>
This commit is contained in:
Lucas Stach 2023-07-14 18:53:57 +02:00 committed by Marge Bot
parent bee2a84657
commit ab1d4ac338

View file

@ -174,9 +174,8 @@ etna_transfer_unmap(struct pipe_context *pctx, struct pipe_transfer *ptrans)
etna_resource_level_ts_mark_invalid(res_level);
etna_resource_level_mark_changed(res_level);
if (rsc->base.bind & PIPE_BIND_SAMPLER_VIEW) {
if (rsc->base.bind & PIPE_BIND_SAMPLER_VIEW)
ctx->dirty |= ETNA_DIRTY_TEXTURE_CACHES;
}
}
/* We need to have the patched data ready for the GPU. */