summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_screen.c
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2019-08-14 15:23:15 +0200
committerChristian Gmeiner <[email protected]>2019-08-14 21:29:48 +0200
commit17200bb67a584a2ec4452e6d658f0190034989e0 (patch)
treef94719cdea5ff9a544451e170cca4d230779eda7 /src/gallium/drivers/etnaviv/etnaviv_screen.c
parent0e6581b87dc4e168fa864cd39e8947a58999189a (diff)
etnaviv: fix weird indentation
Fixes: 797a2e4fd03 ("etnaviv: update logic to determine uniform limits") Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c10
1 files 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