[Mesa-dev] [PATCH 17/24] i965: Replace HW_REG with ARF/GRF.
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 3 08:06:41 PST 2015
On 3 November 2015 at 00:29, Matt Turner <mattst88 at gmail.com> wrote:
> @@ -422,7 +423,7 @@ fs_reg::fs_reg(uint8_t vf0, uint8_t vf1, uint8_t vf2, uint8_t vf3)
> fs_reg::fs_reg(struct brw_reg reg) :
> backend_reg(reg)
> {
> - this->file = HW_REG;
> + this->file = (enum register_file)reg.file;
You're not adding the cast in the rest of the ctors (be that fs_reg,
src_reg or dst_reg) so might as well drop this one ?
-Emil
More information about the mesa-dev
mailing list