i965: Don't bother setting regioning on immediates.

The region fields are unioned with the immediate storage.
This commit is contained in:
Matt Turner
2015-11-16 09:28:02 -08:00
parent c28b574170
commit ce11d4f369
-6
View File
@@ -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;
}