From: Christian Gmeiner Date: Wed, 14 Aug 2019 13:23:15 +0000 (+0200) Subject: etnaviv: fix weird indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17200bb67a584a2ec4452e6d658f0190034989e0;p=mesa.git etnaviv: fix weird indentation Fixes: 797a2e4fd03 ("etnaviv: update logic to determine uniform limits") Signed-off-by: Christian Gmeiner Reviewed-by: Jonathan Marek --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 3c28a9f1101..c1cc56bc34b 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -550,17 +550,13 @@ etna_determine_uniform_limits(struct etna_screen *screen) } else if (screen->specs.num_constants > 256) { screen->specs.max_vs_uniforms = 256; screen->specs.max_ps_uniforms = 256; - } - else if (screen->specs.num_constants == 256) - { + } else if (screen->specs.num_constants == 256) { screen->specs.max_vs_uniforms = 256; screen->specs.max_ps_uniforms = 256; - } - else - { + } else { screen->specs.max_vs_uniforms = 168; screen->specs.max_ps_uniforms = 64; - } + } } static bool