const brw_reg &as_brw_reg() const
{
assert(file == ARF || file == FIXED_GRF || file == MRF || file == IMM);
- assert(reg_offset == 0 && offset == 0);
+ assert(offset == 0);
return static_cast<const brw_reg &>(*this);
}
brw_reg &as_brw_reg()
{
assert(file == ARF || file == FIXED_GRF || file == MRF || file == IMM);
- assert(reg_offset == 0 && offset == 0);
+ assert(offset == 0);
return static_cast<brw_reg &>(*this);
}
bool is_accumulator() const;
bool in_range(const backend_reg &r, unsigned n) const;
- /**
- * Offset within the virtual register.
- *
- * In the scalar backend, this is in units of a float per pixel for pre-
- * register allocation registers (i.e., one register in SIMD8 mode and two
- * registers in SIMD16 mode).
- *
- * For uniforms, this is in units of 1 float.
- */
- uint16_t reg_offset;
-
/** Offset from the start of the (virtual) register in bytes. */
uint16_t offset;