[Mesa-dev] [PATCH 17/24] i965: Replace HW_REG with ARF/GRF.
Matt Turner
mattst88 at gmail.com
Tue Nov 3 10:06:39 PST 2015
On Tue, Nov 3, 2015 at 8:06 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> 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 ?
Actually, that's a problem with src_reg/dst_reg. I'll add them there.
(The whole line gets removed in a few patches).
More information about the mesa-dev
mailing list