mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 06:50:11 +01:00
tgsi: fix Semantic.Name assignment in tgsi_transform_input_decl()
Assign the sem_name parameter, not TGSI_SEMANTIC_GENERIC. Fixes polygon stipple regression. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
0fb1e6b7b4
commit
b12899d752
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ tgsi_transform_input_decl(struct tgsi_transform_context *ctx,
|
||||||
decl.Declaration.File = TGSI_FILE_INPUT;
|
decl.Declaration.File = TGSI_FILE_INPUT;
|
||||||
decl.Declaration.Interpolate = 1;
|
decl.Declaration.Interpolate = 1;
|
||||||
decl.Declaration.Semantic = 1;
|
decl.Declaration.Semantic = 1;
|
||||||
decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
|
decl.Semantic.Name = sem_name;
|
||||||
decl.Semantic.Index = sem_index;
|
decl.Semantic.Index = sem_index;
|
||||||
decl.Range.First =
|
decl.Range.First =
|
||||||
decl.Range.Last = index;
|
decl.Range.Last = index;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue