i965: Use separate enums for register vs immediate types
authorMatt Turner <mattst88@gmail.com>
Tue, 25 Jul 2017 21:05:44 +0000 (14:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Aug 2017 21:05:23 +0000 (14:05 -0700)
commitdeae25ce3783a770f2e4e8f73f935656791121ae
tree56c98192b8f9e03f714b3e10dce04943c086dd46
parent8815b9677ff70723ee55f2e567d50c1d4e9762b3
i965: Use separate enums for register vs immediate types

The hardware encodings often mean different things depending on whether
the source is an immediate.

Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/compiler/brw_disasm.c
src/intel/compiler/brw_eu_compact.c
src/intel/compiler/brw_eu_defines.h
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_eu_validate.c
src/intel/compiler/brw_reg.h