diff options
author | Kenneth Graunke <[email protected]> | 2015-09-17 13:08:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-09-21 13:47:01 -0700 |
commit | d7ffd90ecb1e91fc3e0c816c06c71a2743d48276 (patch) | |
tree | 5d92084382c82116e20c19293774f6d6ca03ab8b | |
parent | 0a1adaf11d051b71b4c46aabee2e5342f2d6aef3 (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.c | 3 |
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); + } } |