mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 07:00:27 +01:00
gallium: weaken assert slightly
This commit is contained in:
parent
d7d3c75236
commit
b63f994ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ unsigned draw_vf_set_vertex_attributes( struct draw_vertex_fetch *vf,
|
|||
|
||||
}
|
||||
else {
|
||||
assert(vf->lookup[map[i].attrib] == 0);
|
||||
assert(vf->lookup[map[i].attrib] == 0 || format == DRAW_EMIT_1F_CONST);
|
||||
vf->lookup[map[i].attrib] = &vf->attr[j];
|
||||
|
||||
vf->attr[j].attrib = map[i].attrib;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue