why there are two input position semantic tags is that ureg doesn't
set vs input semantic due to commit:
6d8dbd3d1ec888
so use vs input index instead of semantic name.
assert(info->num_inputs <= 16);
- if (!r300screen->caps->has_tcl)
+ if (!r300screen->caps->has_tcl || !r300->rs_state->enable_vte)
{
for (i = 0; i < info->num_inputs; i++) {
- switch (info->input_semantic_name[i]) {
+ switch (r300->vs->code.inputs[i]) {
case TGSI_SEMANTIC_POSITION:
- assert(pos == FALSE);
pos = TRUE;
tab[i] = 0;
break;