diff options
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.c')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 10 |
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 |