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>
} 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