mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-10 16:10:26 +01:00
gallium: Fix MSVC warnings.
This commit is contained in:
parent
626b8d177b
commit
e280bd50cc
1 changed files with 4 additions and 4 deletions
|
|
@ -104,17 +104,17 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
|
|||
|
||||
if (file == TGSI_FILE_INPUT) {
|
||||
info->input_semantic_name[info->num_inputs]
|
||||
= fulldecl->Semantic.SemanticName;
|
||||
= (ubyte)fulldecl->Semantic.SemanticName;
|
||||
info->input_semantic_index[info->num_inputs]
|
||||
= fulldecl->Semantic.SemanticIndex;
|
||||
= (ubyte)fulldecl->Semantic.SemanticIndex;
|
||||
info->num_inputs++;
|
||||
}
|
||||
|
||||
if (file == TGSI_FILE_OUTPUT) {
|
||||
info->output_semantic_name[info->num_outputs]
|
||||
= fulldecl->Semantic.SemanticName;
|
||||
= (ubyte)fulldecl->Semantic.SemanticName;
|
||||
info->output_semantic_index[info->num_outputs]
|
||||
= fulldecl->Semantic.SemanticIndex;
|
||||
= (ubyte)fulldecl->Semantic.SemanticIndex;
|
||||
info->num_outputs++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue