From 67c2d80a839614e4638d6cff390627122f8148ca Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 19 Oct 2016 10:30:52 +1100 Subject: i965/mesa/st: eliminate gl_tess_eval_program We now get all the tes metadata from shader_info. Reviewed-by: Jason Ekstrand --- src/mesa/state_tracker/st_atom_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/st_atom_shader.c') diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index 0df0770bb1e..235303cfd24 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -283,7 +283,7 @@ update_tep( struct st_context *st ) } sttep = st_tesseval_program(st->ctx->TessEvalProgram._Current); - assert(sttep->Base.Base.Target == GL_TESS_EVALUATION_PROGRAM_NV); + assert(sttep->Base.Target == GL_TESS_EVALUATION_PROGRAM_NV); st->tep_variant = st_get_basic_variant(st, PIPE_SHADER_TESS_EVAL, &sttep->tgsi, &sttep->variants); -- cgit v1.2.3