summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-09-17 13:08:03 -0700
committerKenneth Graunke <[email protected]>2015-09-21 13:47:01 -0700
commitd7ffd90ecb1e91fc3e0c816c06c71a2743d48276 (patch)
tree5d92084382c82116e20c19293774f6d6ca03ab8b
parent0a1adaf11d051b71b4c46aabee2e5342f2d6aef3 (diff)
nir: Add braces around multi-line loop.
This was correct but not our usual style. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/glsl/nir/nir_normalize_cubemap_coords.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_normalize_cubemap_coords.c b/src/glsl/nir/nir_normalize_cubemap_coords.c
index ca68bd7a94c..dd6de40c46f 100644
--- a/src/glsl/nir/nir_normalize_cubemap_coords.c
+++ b/src/glsl/nir/nir_normalize_cubemap_coords.c
@@ -98,7 +98,8 @@ normalize_cubemap_coords_impl(nir_function_impl *impl)
void
nir_normalize_cubemap_coords(nir_shader *shader)
{
- nir_foreach_overload(shader, overload)
+ nir_foreach_overload(shader, overload) {
if (overload->impl)
normalize_cubemap_coords_impl(overload->impl);
+ }
}