From 11a924c174f45bab4b2e6240ca1499e1a63b241e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 1 Jul 2017 16:05:48 +0200 Subject: [PATCH] st/mesa: fix tessellation shaders with no support for shareable shaders MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Broken by: b43c887a9bf1e3fb99b0dc22bfea5db81375a06e Reported by Gert Wollny. Reviewed-by: Nicolai Hähnle --- src/mesa/state_tracker/st_atom_shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2