mesa: fix memcpy() and memset(0) of non-trivial structs
authorEric Engestrom <eric.engestrom@intel.com>
Sun, 28 Oct 2018 17:50:47 +0000 (17:50 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 18:10:59 +0000 (18:10 +0000)
commit6000895e2dd20f8f737a7429db09ab6576301c86
tree7a883626abec5f5abdefe80494d1e2bf4719ff34
parent69eb6d58e86d2e0d3c074cc9e608713f3842a6a6
mesa: fix memcpy() and memset(0) of non-trivial structs

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp
src/mesa/state_tracker/st_glsl_to_tgsi_private.h