projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb1e6b
)
tgsi: fix Semantic.Name assignment in tgsi_transform_input_decl()
author
Brian Paul
<brianp@vmware.com>
Tue, 30 Sep 2014 16:28:34 +0000
(10:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 30 Sep 2014 18:08:49 +0000
(12:08 -0600)
Assign the sem_name parameter, not TGSI_SEMANTIC_GENERIC.
Fixes polygon stipple regression.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_transform.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_transform.h
b/src/gallium/auxiliary/tgsi/tgsi_transform.h
index bfcdd56f35684b35caa4649c275862bfe7a96ccf..921aa906527e781c256caf37f7622678f1bf9755 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_transform.h
+++ b/
src/gallium/auxiliary/tgsi/tgsi_transform.h
@@
-120,7
+120,7
@@
tgsi_transform_input_decl(struct tgsi_transform_context *ctx,
decl.Declaration.File = TGSI_FILE_INPUT;
decl.Declaration.Interpolate = 1;
decl.Declaration.Semantic = 1;
- decl.Semantic.Name =
TGSI_SEMANTIC_GENERIC
;
+ decl.Semantic.Name =
sem_name
;
decl.Semantic.Index = sem_index;
decl.Range.First =
decl.Range.Last = index;