diff options
author | Marek Olšák <[email protected]> | 2018-07-17 01:50:42 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-18 13:33:30 -0400 |
commit | 201ebf51d1dbea6474dd19524e634b823cb391d7 (patch) | |
tree | 39b495efe228783293a8af0af7dca6db9d69b822 /src/mesa/state_tracker | |
parent | e1621fda84d92f154b19c5bf9562ee6963414399 (diff) |
st/mesa: notify u_vbuf/driver that draw index bounds are unknown for indirect
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index dee69783ada..eb52d9505b6 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -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; |