draw: fix key comparison with uninitialized value
authorRoland Scheidegger <sroland@vmware.com>
Tue, 12 Jan 2016 17:47:44 +0000 (18:47 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 13 Jan 2016 01:43:04 +0000 (02:43 +0100)
commit9422999e4041d4e984acbd2f44813d5928d20f18
tree5ecb3dd529bc6aef99b465bd519058327ba9c88d
parent6143e2d65168a628aeb54db4cfecd1bb1d53b8aa
draw: fix key comparison with uninitialized value

Discovered by accident, valgrind was complaining (could have possibly caused
us to create redundant geometry shader variants).

v2: convinced by Brian and Jose, just use memset for both gs and vs keys,
just as easy and less error prone.
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm.h