Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
info->uses_texture_gather = sh->Program->UsesGather;
switch (sh->Stage) {
- case MESA_SHADER_TESS_CTRL:
- info->tcs.vertices_out = sh->info.TessCtrl.VerticesOut;
- break;
-
case MESA_SHADER_GEOMETRY:
info->gs.vertices_in = shader_prog->Geom.VerticesIn;
info->gs.output_primitive = sh->info.Geom.OutputType;
dst->CullDistanceArraySize = src->Vert.CullDistanceArraySize;
break;
case MESA_SHADER_TESS_CTRL: {
- struct gl_tess_ctrl_program *dst_tcp =
- (struct gl_tess_ctrl_program *) dst;
- dst_tcp->VerticesOut = dst_sh->info.TessCtrl.VerticesOut;
+ dst->info.tcs.vertices_out = dst_sh->info.TessCtrl.VerticesOut;
break;
}
case MESA_SHADER_TESS_EVAL: {