From 17200bb67a584a2ec4452e6d658f0190034989e0 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 14 Aug 2019 15:23:15 +0200 Subject: [PATCH] etnaviv: fix weird indentation Fixes: 797a2e4fd03 ("etnaviv: update logic to determine uniform limits") Signed-off-by: Christian Gmeiner Reviewed-by: Jonathan Marek --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 -- 2.30.2