On Tue, Nov 3, 2015 at 8:06 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 3 November 2015 at 00:29, Matt Turner <matts...@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 ?
Actually, that's a problem with src_reg/dst_reg. I'll add them there. (The whole line gets removed in a few patches). _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev