intel/eu: Copy fields manually in brw_next_insn
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 May 2018 20:45:57 +0000 (13:45 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Jun 2018 21:03:03 +0000 (14:03 -0700)
commit2d20303e1874a862117f526ee87789b00b049078
tree9b6df0fd25926b7f1d41be3c498e2c787993d601
parent381fac274054784e4cbd152168653aecb9f1e5dd
intel/eu: Copy fields manually in brw_next_insn

Instead of doing a memcpy, this moves us to start with a blank
instruction (memset to zero) and copy the fields over one at a time.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu_emit.c