From: Marek Olšák Date: Sat, 1 Jul 2017 14:05:48 +0000 (+0200) Subject: st/mesa: fix tessellation shaders with no support for shareable shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11a924c174f45bab4b2e6240ca1499e1a63b241e;p=mesa.git st/mesa: fix tessellation shaders with no support for shareable shaders Broken by: b43c887a9bf1e3fb99b0dc22bfea5db81375a06e Reported by Gert Wollny. Reviewed-by: Nicolai Hähnle --- diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index c1869d323be..46f2bd7e3bf 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -233,7 +233,7 @@ st_update_tcp(struct st_context *st) { void *shader = st_update_common_program(st, st->ctx->TessCtrlProgram._Current, - MESA_SHADER_TESS_CTRL, &st->tcp); + PIPE_SHADER_TESS_CTRL, &st->tcp); cso_set_tessctrl_shader_handle(st->cso_context, shader); } @@ -243,7 +243,7 @@ st_update_tep(struct st_context *st) { void *shader = st_update_common_program(st, st->ctx->TessEvalProgram._Current, - MESA_SHADER_TESS_EVAL, &st->tep); + PIPE_SHADER_TESS_EVAL, &st->tep); cso_set_tesseval_shader_handle(st->cso_context, shader); }