projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8a71f
)
st/glsl_to_tgsi: brown paper bag for the input offsets fix.
author
Dave Airlie
<airlied@redhat.com>
Tue, 10 May 2016 04:40:54 +0000
(14:40 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 10 May 2016 04:41:21 +0000
(14:41 +1000)
Oops, thanks compiler.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 7489fa368cf8fbae9875602d5ca0d16d6899137d..6e9c19a63064f7c59225606a5b7372a28bd68b3b 100644
(file)
--- 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[i
mm_src.I
ndex]];
+ imm_src = t->inputs[t->inputMapping[i
n_offset->i
ndex]];
offset.File = imm_src.File;
offset.Index = imm_src.Index;
offset.SwizzleX = GET_SWZ(in_offset->swizzle, 0);