cso: use memcpy rather than structure asignment for copying
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 25 May 2008 14:28:30 +0000 (15:28 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 25 May 2008 14:54:40 +0000 (15:54 +0100)
commit359058e7b77ddbac5eec7e8d1c77232bcbb1adbf
tree5beed2bafc5bef63ed7ab8791ea9fe16b500a34a
parenteab4472ee6e948da30e6dd0b6f784c926056fbd6
cso: use memcpy rather than structure asignment for copying

Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
src/gallium/auxiliary/cso_cache/cso_context.c