mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
st/mesa: initialize key in st_vp_varient
This fixes endless vertex shader recompilations in find_translated_vp if the shader contains an edge flag output. NOTE: This is a candidate for the 7.9 branch. Signed-off-by Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
ccacabe86c
commit
c0c929cdac
1 changed files with 2 additions and 0 deletions
|
|
@ -216,6 +216,8 @@ st_translate_vertex_program(struct st_context *st,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
vpv->key = *key;
|
||||
|
||||
vpv->num_inputs = stvp->num_inputs;
|
||||
num_outputs = stvp->num_outputs;
|
||||
if (key->passthrough_edgeflags) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue