glsl_to_tgsi: copy reladdr in st_src_reg(st_dst_reg) constructor

This is a glsl_to_tgsi port of commit f7cd9a858c.
This commit is contained in:
Bryan Cain
2011-07-27 16:39:40 -05:00
parent 3e7fce9773
commit 189e9f12c7
+1 -1
View File
@@ -174,7 +174,7 @@ st_src_reg::st_src_reg(st_dst_reg reg)
this->index = reg.index;
this->swizzle = SWIZZLE_XYZW;
this->negate = 0;
this->reladdr = NULL;
this->reladdr = reg.reladdr;
}
st_dst_reg::st_dst_reg(st_src_reg reg)