summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-11-16 09:28:02 -0800
committerMatt Turner <[email protected]>2015-11-20 17:39:33 -0800
commitce11d4f3695506bd00b319b6ebbfcb9168eb3b84 (patch)
tree07fc8fbe24d4efe6f52563965961cf082a3fdb2b /src
parentc28b574170706d4f9625e7ffa72c87862aa1ca31 (diff)
i965: Don't bother setting regioning on immediates.
The region fields are unioned with the immediate storage.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_reg.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h
index e34e7ea0a52..15de93aa8ad 100644
--- a/src/mesa/drivers/dri/i965/brw_reg.h
+++ b/src/mesa/drivers/dri/i965/brw_reg.h
@@ -618,9 +618,6 @@ static inline struct brw_reg
brw_imm_v(unsigned v)
{
struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_V);
- imm.vstride = BRW_VERTICAL_STRIDE_0;
- imm.width = BRW_WIDTH_8;
- imm.hstride = BRW_HORIZONTAL_STRIDE_1;
imm.ud = v;
return imm;
}
@@ -630,9 +627,6 @@ static inline struct brw_reg
brw_imm_vf(unsigned v)
{
struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_VF);
- imm.vstride = BRW_VERTICAL_STRIDE_0;
- imm.width = BRW_WIDTH_4;
- imm.hstride = BRW_HORIZONTAL_STRIDE_1;
imm.ud = v;
return imm;
}