aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/gl_nir_link_uniforms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/gl_nir_link_uniforms.c')
-rw-r--r--src/compiler/glsl/gl_nir_link_uniforms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/gl_nir_link_uniforms.c b/src/compiler/glsl/gl_nir_link_uniforms.c
index d3a39577177..c6961fbb6ca 100644
--- a/src/compiler/glsl/gl_nir_link_uniforms.c
+++ b/src/compiler/glsl/gl_nir_link_uniforms.c
@@ -456,6 +456,7 @@ gl_nir_link_uniforms(struct gl_context *ctx,
prog->data->NumUniformDataSlots = state.num_values;
nir_setup_uniform_remap_tables(ctx, prog);
+ gl_nir_set_uniform_initializers(ctx, prog);
return true;
}