projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc40ae
)
st/mesa: fix tessellation shaders with no support for shareable shaders
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 1 Jul 2017 14:05:48 +0000
(16:05 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 3 Jul 2017 21:08:28 +0000
(23:08 +0200)
Broken by:
b43c887a9bf1e3fb99b0dc22bfea5db81375a06e
Reported by Gert Wollny.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom_shader.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_shader.c
b/src/mesa/state_tracker/st_atom_shader.c
index c1869d323beb43da99afcc51820fe423c252651d..46f2bd7e3bf98474607196171427e1fbed905c1a 100644
(file)
--- 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);
}