mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
st/mesa: notify u_vbuf/driver that draw index bounds are unknown for indirect
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
e1621fda84
commit
201ebf51d1
1 changed files with 1 additions and 0 deletions
|
|
@ -261,6 +261,7 @@ st_indirect_draw_vbo(struct gl_context *ctx,
|
|||
memset(&indirect, 0, sizeof(indirect));
|
||||
util_draw_init_info(&info);
|
||||
info.start = 0; /* index offset / index size */
|
||||
info.max_index = ~0u; /* so that u_vbuf can tell that it's unknown */
|
||||
|
||||
if (ib) {
|
||||
struct gl_buffer_object *bufobj = ib->obj;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue