diff options
author | Matt Turner <[email protected]> | 2017-07-25 13:16:25 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-21 14:05:23 -0700 |
commit | 8815b9677ff70723ee55f2e567d50c1d4e9762b3 (patch) | |
tree | 1f35a3b1b8323be588a5893a71d85d1339bd88a9 /src/intel/compiler/brw_eu.c | |
parent | ce6b8627d87f14e15f2f4bbc6034b32c34557cb3 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.c')
-rw-r--r-- | src/intel/compiler/brw_eu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu.c b/src/intel/compiler/brw_eu.c index 0ef52e219ca..700a1badd46 100644 --- a/src/intel/compiler/brw_eu.c +++ b/src/intel/compiler/brw_eu.c @@ -62,7 +62,6 @@ brw_reg_type_letters(unsigned type) [BRW_REGISTER_TYPE_UQ] = "UQ", [BRW_REGISTER_TYPE_Q] = "Q", }; - assert(type <= BRW_REGISTER_TYPE_Q); return names[type]; } |