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>
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. */