mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
glsl: fix incorrect attribute size
This commit is contained in:
parent
53dfd5d870
commit
03ba461c19
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ _slang_resolve_attributes(struct gl_shader_program *shProg,
|
|||
if (inputsRead & (1 << i)) {
|
||||
_mesa_add_attribute(linkedProg->Attributes,
|
||||
_slang_vert_attrib_name(i),
|
||||
1, /* size */
|
||||
4, /* size in floats */
|
||||
_slang_vert_attrib_type(i),
|
||||
-1 /* attrib/input */);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue