st/mesa: initialize key in st_vp_varient
authorMarek Olšák <maraeo@gmail.com>
Sun, 5 Dec 2010 05:43:18 +0000 (06:43 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 5 Dec 2010 16:38:19 +0000 (17:38 +0100)
commitc0c929cdac75a9a0077d74c87b525b65f0a3b6c8
tree55ed0b3c7af38e122ff7e8f91e01de376ecc8fb0
parentccacabe86c30623b00997f8ec0b4cd01866ee46a
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>
src/mesa/state_tracker/st_program.c