Module: Mesa Branch: master Commit: 17200bb67a584a2ec4452e6d658f0190034989e0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17200bb67a584a2ec4452e6d658f0190034989e0
Author: Christian Gmeiner <christian.gmei...@gmail.com> Date: Wed Aug 14 15:23:15 2019 +0200 etnaviv: fix weird indentation Fixes: 797a2e4fd03 ("etnaviv: update logic to determine uniform limits") Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> Reviewed-by: Jonathan Marek <jonat...@marek.ca> --- 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 _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit