summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/program_binary.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/program_binary.c b/src/mesa/main/program_binary.c
index 8c2db255246..536201694c3 100644
--- a/src/mesa/main/program_binary.c
+++ b/src/mesa/main/program_binary.c
@@ -301,6 +301,8 @@ _mesa_program_binary(struct gl_context *ctx, struct gl_shader_program *sh_prog,
return;
}
+ _mesa_create_program_resource_hash(sh_prog);
+
/* From section 7.3 (Program Objects) of the OpenGL 4.5 spec:
*
* "If LinkProgram or ProgramBinary successfully re-links a program