cso_cache: Ensure irrelevant state of the blend state is zeroed.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 24 Apr 2010 09:33:44 +0000 (10:33 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 24 Apr 2010 10:39:09 +0000 (11:39 +0100)
commit53499c64b212c68527f84f5e672cdfc95935f643
tree837e6b4a69b370e9d594f3c4a985061d0b9a341a
parenta523b622036117e8bc1be0a1496d4368562e9702
cso_cache: Ensure irrelevant state of the blend state is zeroed.

Otherwise drivers that bake the full blend state in a key end up having
uninitialized memory in their key.

Courtesy of valgrind.
src/gallium/auxiliary/cso_cache/cso_context.c