etnaviv: fix weird indentation
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 14 Aug 2019 13:23:15 +0000 (15:23 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 14 Aug 2019 19:29:48 +0000 (21:29 +0200)
Fixes: 797a2e4fd03 ("etnaviv: update logic to determine uniform limits")
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/etnaviv_screen.c

index 3c28a9f11014bdb2d8a316912d3d017a11b991d0..c1cc56bc34ba6453da10f1e287340604466fb23a 100644 (file)
@@ -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