diff options
author | Timothy Arceri <[email protected]> | 2016-10-31 19:35:49 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-12-30 10:57:16 +1100 |
commit | b51bfbdd85da83f08e671b8bf25fa1f9153924ed (patch) | |
tree | d1bc2c17e6aa4cfbec938768db00dc92662ab1bc /src/mesa/main/shaderapi.c | |
parent | 41dd6c35396434be53581b59c4b477dd95e8b774 (diff) |
glsl/mesa: set separate_shader directly in shader_info
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |