mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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:
parent
bee2a84657
commit
ab1d4ac338
1 changed files with 1 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue