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 ?
-Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev