diff options
-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 acb47abb40..a17a150b50 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -5837,7 +5837,7 @@ translate_src(struct st_translate *t, const st_src_reg *src_reg) assert(slot != -1 && t->inputs[slot].File == TGSI_FILE_INPUT); - struct ureg_src src = t->inputs[slot]; + src = t->inputs[slot]; src.ArrayID = src_reg->array_id; src = ureg_src_array_offset(src, index + double_reg2 - mesa_index); } |