From b51bfbdd85da83f08e671b8bf25fa1f9153924ed Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 31 Oct 2016 19:35:49 +1100 Subject: glsl/mesa: set separate_shader directly in shader_info Reviewed-by: Eric Anholt --- src/mesa/main/shaderapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/shaderapi.c') diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 270c7d6645e..c1e67f36366 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2160,6 +2160,7 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src, struct gl_program *dst = dst_sh->Program; dst->info.num_images = dst_sh->NumImages; + dst->info.separate_shader = src->SeparateShader; switch (dst_sh->Stage) { case MESA_SHADER_VERTEX: -- cgit v1.2.3