intel/eu: Switch to a logical state stack
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 May 2018 21:37:35 +0000 (14:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Jun 2018 21:03:03 +0000 (14:03 -0700)
commit6a9525bf6729a8d2bb9c6a7b10ebdc9925c55463
tree6cfc2dc22432553411c09a4662ed6a9f2d074b3a
parentdb9675f5a4c68e39bb777eb7003f01854fd235dc
intel/eu: Switch to a logical state stack

Instead of the state stack that's based on copying a dummy instruction
around, we start using a logical stack of brw_insn_states.  This uses a
bit less memory and is way less conceptually bogus.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu.c
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_emit.c