i965/vs: Add support for conversion of FIXED_HW_REG src_reg to/from dst_reg.
This was quietly occurring in some emit code I produced, and failed.
This commit is contained in:
@@ -38,6 +38,7 @@ src_reg::src_reg(dst_reg reg)
|
||||
this->reg_offset = reg.reg_offset;
|
||||
this->type = reg.type;
|
||||
this->reladdr = reg.reladdr;
|
||||
this->fixed_hw_reg = reg.fixed_hw_reg;
|
||||
|
||||
int swizzles[4];
|
||||
int next_chan = 0;
|
||||
@@ -68,6 +69,7 @@ dst_reg::dst_reg(src_reg reg)
|
||||
this->type = reg.type;
|
||||
this->writemask = WRITEMASK_XYZW;
|
||||
this->reladdr = reg.reladdr;
|
||||
this->fixed_hw_reg = reg.fixed_hw_reg;
|
||||
}
|
||||
|
||||
vec4_instruction *
|
||||
|
||||
Reference in New Issue
Block a user