diff options
author | Marek Olšák <[email protected]> | 2017-07-01 16:05:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-03 23:08:28 +0200 |
commit | 11a924c174f45bab4b2e6240ca1499e1a63b241e (patch) | |
tree | 195fb2b06c6289e5321f02930034600f1cc5c45c /src | |
parent | 1bc40ae9524477de9d4f73b57b3ae69a40923695 (diff) |
st/mesa: fix tessellation shaders with no support for shareable shaders
Broken by: b43c887a9bf1e3fb99b0dc22bfea5db81375a06e
Reported by Gert Wollny.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_atom_shader.c | 4 |
1 files 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); } |