struct brw_stage_state *stage_state = &brw->tes.base;
/* BRW_NEW_TESS_PROGRAMS */
- struct brw_program *dp = (struct brw_program *) brw->tess_eval_program;
+ struct brw_program *dp =
+ (struct brw_program *) brw->programs[MESA_SHADER_TESS_EVAL];
if (!dp)
return;
brw_upload_tes_abo_surfaces(struct brw_context *brw)
{
/* _NEW_PROGRAM */
- const struct gl_program *tep = brw->tess_eval_program;
+ const struct gl_program *tep = brw->programs[MESA_SHADER_TESS_EVAL];
if (tep) {
/* BRW_NEW_TES_PROG_DATA */
brw_upload_tes_image_surfaces(struct brw_context *brw)
{
/* BRW_NEW_TESS_PROGRAMS */
- const struct gl_program *tep = brw->tess_eval_program;
+ const struct gl_program *tep = brw->programs[MESA_SHADER_TESS_EVAL];
if (tep) {
/* BRW_NEW_TES_PROG_DATA, BRW_NEW_IMAGE_UNITS */