i965: Reorder brw_reg_type enum values
authorMatt Turner <mattst88@gmail.com>
Tue, 25 Jul 2017 20:16:25 +0000 (13:16 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Aug 2017 21:05:23 +0000 (14:05 -0700)
commit8815b9677ff70723ee55f2e567d50c1d4e9762b3
tree1f35a3b1b8323be588a5893a71d85d1339bd88a9
parentce6b8627d87f14e15f2f4bbc6034b32c34557cb3
i965: Reorder brw_reg_type enum values

These vaguely corresponded to the hardware encodings, but that is purely
historical at this point. Reorder them so we stop making things "almost
work" when mixing enums.

The ordering has been closen so that no enum value is the same as a
compatible hardware encoding.

Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/compiler/brw_eu.c
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_reg.h
src/intel/compiler/brw_vec4.cpp