if (!st->ctx->GeometryProgram._Current) {
cso_set_geometry_shader_handle(st->cso_context, NULL);
+ st_reference_geomprog(st, &st->gp, NULL);
return;
}
if (!st->ctx->TessCtrlProgram._Current) {
cso_set_tessctrl_shader_handle(st->cso_context, NULL);
+ st_reference_tesscprog(st, &st->tcp, NULL);
return;
}
if (!st->ctx->TessEvalProgram._Current) {
cso_set_tesseval_shader_handle(st->cso_context, NULL);
+ st_reference_tesseprog(st, &st->tep, NULL);
return;
}
if (!st->ctx->ComputeProgram._Current) {
cso_set_compute_shader_handle(st->cso_context, NULL);
+ st_reference_compprog(st, &st->cp, NULL);
return;
}