Reviewed-by: Eric Anholt <eric@anholt.net>
shader->info->num_ssbos = sh->NumShaderStorageBlocks;
shader->info->clip_distance_array_size = sh->Program->ClipDistanceArraySize;
shader->info->cull_distance_array_size = sh->Program->CullDistanceArraySize;
- shader->info->separate_shader = shader_prog->SeparateShader;
shader->info->has_transform_feedback_varyings =
shader_prog->TransformFeedback.NumVarying > 0;
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: