diff options
author | Bryan Cain <[email protected]> | 2011-07-27 16:39:40 -0500 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-08-01 17:59:10 -0500 |
commit | 189e9f12c7d3a82d7dd28695935a83e4319bb267 (patch) | |
tree | 547d1aceb2c6188e3f40ce40f075dd4fa7b89971 /src/mesa/state_tracker | |
parent | 3e7fce9773ec332665326a785b6ed1fcf5bd578e (diff) |
glsl_to_tgsi: copy reladdr in st_src_reg(st_dst_reg) constructor
This is a glsl_to_tgsi port of commit f7cd9a858c04.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
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 f66e240a177..ba4074eecd5 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) |