diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-08-23 19:16:12 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-08-23 19:16:12 +0200 |
commit | 5fabd4f7ee1e75574878bb7d273b6b9679a9a991 (patch) | |
tree | 785e41d7da51194f2dc20658e086a32626fda919 | |
parent | 53ee80d9007db2dfdfc45d9ff8bfa70d961b8a8f (diff) |
squash! st/glsl_to_tgsi: inline src_register into translate_srctgsi-const-2d
v2: fix input array handling
-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); } |