mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 21:10:24 +01:00
st/mesa: remove primitive restart assertion
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
parent
07c3e752f8
commit
d89c6689df
1 changed files with 4 additions and 6 deletions
|
|
@ -638,13 +638,11 @@ handle_fallback_primitive_restart(struct pipe_context *pipe,
|
|||
info.primitive_restart = FALSE;
|
||||
|
||||
if (!info.indexed) {
|
||||
/* Splitting the draw arrays call is handled by the VBO module */
|
||||
assert(info.restart_index > info.max_index || info.restart_index < info.min_index);
|
||||
/* Splitting the draw arrays call is handled by the VBO module */
|
||||
if (u_trim_pipe_prim(info.mode, &info.count))
|
||||
pipe->draw_vbo(pipe, &info);
|
||||
|
||||
if (u_trim_pipe_prim(info.mode, &info.count))
|
||||
pipe->draw_vbo(pipe, &info);
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
/* info.indexed == TRUE */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue