intel/eu: Use a struct copy instead of a memcpy
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Jun 2018 21:33:12 +0000 (14:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Jun 2018 22:51:01 +0000 (15:51 -0700)
commit01ad2067bba17451c663983877ec85145de20f02
treedc9d4d6697905459584fee2ef9880d4cb26ede67
parentcc21e96d5f412aae5d3982dde0d4c926e8d049e8
intel/eu: Use a struct copy instead of a memcpy

The memcpy had the wrong size and this was causing crashes on 32-bit
builds of the driver.

Fixes: 6a9525bf6729a8 "intel/eu: Switch to a logical state stack"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106830
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu.c