summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Cain <bryancain3@gmail.com>2011-07-27 16:39:40 -0500
committerBryan Cain <bryancain3@gmail.com>2011-08-01 17:59:10 -0500
commit189e9f12c7d3a82d7dd28695935a83e4319bb267 (patch)
tree547d1aceb2c6188e3f40ce40f075dd4fa7b89971
parent3e7fce9773ec332665326a785b6ed1fcf5bd578e (diff)
glsl_to_tgsi: copy reladdr in st_src_reg(st_dst_reg) constructor
This is a glsl_to_tgsi port of commit f7cd9a858c04.
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index f66e240a17..ba4074eecd 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -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)