aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-10-25 21:14:56 -0700
committerMatt Turner <[email protected]>2015-11-13 11:27:50 -0800
commit58fa9d47b536403c4e3ca5d6a2495691338388fd (patch)
tree4cb2ac309566ef7c5b7b72cbac1e39f1dbc4f873 /src/mesa/drivers/dri/i965/brw_vec4.cpp
parent94b1031703b1b5759436fe215323727cffce5f86 (diff)
i965/vec4: Remove swizzle/writemask fields from src/dst_reg.
Also allows us to handle HW_REGs in the swizzle() and writemask() functions. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 9155c2e811d..37170e7fc57 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -125,7 +125,6 @@ src_reg::src_reg(struct brw_reg reg) :
this->file = HW_REG;
this->reg = 0;
this->reg_offset = 0;
- this->swizzle = BRW_SWIZZLE_XXXX;
this->reladdr = NULL;
}
@@ -188,7 +187,6 @@ dst_reg::dst_reg(struct brw_reg reg) :
this->file = HW_REG;
this->reg = 0;
this->reg_offset = 0;
- this->writemask = WRITEMASK_XYZW;
this->reladdr = NULL;
}