projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccacabe
)
st/mesa: initialize key in st_vp_varient
author
Marek Olšák
<maraeo@gmail.com>
Sun, 5 Dec 2010 05:43:18 +0000
(06:43 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 5 Dec 2010 16:38:19 +0000
(17:38 +0100)
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>
src/mesa/state_tracker/st_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_program.c
b/src/mesa/state_tracker/st_program.c
index 76799287fe12dff9c69de2254f87eae223596f74..aae2913c202c57345eca76d3ecc8679c75ee8e79 100644
(file)
--- a/
src/mesa/state_tracker/st_program.c
+++ b/
src/mesa/state_tracker/st_program.c
@@
-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) {