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:28:30 +0000 (15:28 +0100)
commitdc52622fcf5660a9675ed61c359cf7068aa4861b
tree079a6f624318020d63dfb695e197144b73ad2e17
parent584a3dcf8e4042cc1a5d48d83ea63d0a3c9706c1
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