summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir')
-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);
+ }
}