mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
Set the attribute as used.
This commit is contained in:
parent
2154cb4994
commit
25641d599f
1 changed files with 3 additions and 0 deletions
|
|
@ -262,6 +262,9 @@ _slang_resolve_attributes(struct gl_shader_program *shProg,
|
|||
return GL_FALSE;
|
||||
}
|
||||
_mesa_add_attribute(shProg->Attributes, name, size, attr);
|
||||
|
||||
/* set the attribute as used */
|
||||
usedAttributes |= 1<<attr;
|
||||
}
|
||||
|
||||
inst->SrcReg[j].Index = VERT_ATTRIB_GENERIC0 + attr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue