diff options
author | Dave Airlie <[email protected]> | 2016-05-10 14:40:54 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-10 14:41:21 +1000 |
commit | 008feb3687e0a8b10e7ad230828de56c6d351a6f (patch) | |
tree | 22175d12a53c2532de3bf326a60b329bc8a5c8a3 /src/mesa | |
parent | 4d8a71f7f18986f3969489ea8e94de335378a479 (diff) |
st/glsl_to_tgsi: brown paper bag for the input offsets fix.
Oops, thanks compiler.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa')
-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 7489fa368cf..6e9c19a6306 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -5582,7 +5582,7 @@ translate_tex_offset(struct st_translate *t, offset.Padding = 0; break; case PROGRAM_INPUT: - imm_src = t->inputs[t->inputMapping[imm_src.Index]]; + imm_src = t->inputs[t->inputMapping[in_offset->index]]; offset.File = imm_src.File; offset.Index = imm_src.Index; offset.SwizzleX = GET_SWZ(in_offset->swizzle, 0); |