mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
fix 1/i typos
This commit is contained in:
parent
ae58f38fee
commit
562c941063
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ st_translate_vertex_shader(struct st_context *st,
|
|||
case VERT_ATTRIB_TEX6:
|
||||
case VERT_ATTRIB_TEX7:
|
||||
vs.input_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_TEXCOORD;
|
||||
vs.input_semantic_index[vs.num_inputs] = 1 - VERT_ATTRIB_TEX0;
|
||||
vs.input_semantic_index[vs.num_inputs] = i - VERT_ATTRIB_TEX0;
|
||||
break;
|
||||
case VERT_ATTRIB_GENERIC0:
|
||||
case VERT_ATTRIB_GENERIC1:
|
||||
|
|
@ -112,7 +112,7 @@ st_translate_vertex_shader(struct st_context *st,
|
|||
case VERT_ATTRIB_GENERIC7:
|
||||
assert(i < VERT_ATTRIB_MAX);
|
||||
vs.input_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_GENERIC;
|
||||
vs.input_semantic_index[vs.num_inputs] = 1 - VERT_ATTRIB_GENERIC0;
|
||||
vs.input_semantic_index[vs.num_inputs] = i - VERT_ATTRIB_GENERIC0;
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue