summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-07-25 13:16:25 -0700
committerMatt Turner <[email protected]>2017-08-21 14:05:23 -0700
commit8815b9677ff70723ee55f2e567d50c1d4e9762b3 (patch)
tree1f35a3b1b8323be588a5893a71d85d1339bd88a9 /src/intel/compiler/brw_fs.cpp
parentce6b8627d87f14e15f2f4bbc6034b32c34557cb3 (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_fs.cpp')
-rw-r--r--src/intel/compiler/brw_fs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index fdc30d450cc..0ea4c4f1ccb 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -403,6 +403,7 @@ void
fs_reg::init()
{
memset(this, 0, sizeof(*this));
+ type = BRW_REGISTER_TYPE_UD;
stride = 1;
}