intel/inst: Indent some code
We're about to add some more if cases so let's have the giant re-indent in it's own patch to make review easier. Acked-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
d96969120d
commit
d6a6e10390
|
@ -96,6 +96,7 @@ brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest)
|
|||
|
||||
gen7_convert_mrf_to_grf(p, &dest);
|
||||
|
||||
{
|
||||
brw_inst_set_dst_file_type(devinfo, inst, dest.file, dest.type);
|
||||
brw_inst_set_dst_address_mode(devinfo, inst, dest.address_mode);
|
||||
|
||||
|
@ -138,6 +139,7 @@ brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest)
|
|||
brw_inst_set_dst_hstride(devinfo, inst, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Generators should set a default exec_size of either 8 (SIMD4x2 or SIMD8)
|
||||
* or 16 (SIMD16), as that's normally correct. However, when dealing with
|
||||
|
@ -186,6 +188,7 @@ brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg)
|
|||
assert(reg.address_mode == BRW_ADDRESS_DIRECT);
|
||||
}
|
||||
|
||||
{
|
||||
brw_inst_set_src0_file_type(devinfo, inst, reg.file, reg.type);
|
||||
brw_inst_set_src0_abs(devinfo, inst, reg.abs);
|
||||
brw_inst_set_src0_negate(devinfo, inst, reg.negate);
|
||||
|
@ -268,6 +271,7 @@ brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
|
@ -278,6 +282,7 @@ brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg)
|
|||
if (reg.file == BRW_GENERAL_REGISTER_FILE)
|
||||
assert(reg.nr < 128);
|
||||
|
||||
{
|
||||
/* From the IVB PRM Vol. 4, Pt. 3, Section 3.3.3.5:
|
||||
*
|
||||
* "Accumulator registers may be accessed explicitly as src0
|
||||
|
@ -358,6 +363,7 @@ brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Specify the descriptor and extended descriptor immediate for a SEND(C)
|
||||
|
|
Loading…
Reference in New Issue