mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
st/glsl_to_tgsi: brown paper bag for the input offsets fix.
Oops, thanks compiler. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4d8a71f7f1
commit
008feb3687
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue