util/prim_restart: update index bounds before draws in util_draw_vbo_without_prim_restart
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10966>
This commit is contained in:
committed by
Marge Bot
parent
1627476079
commit
aa78326e12
@@ -325,6 +325,9 @@ util_draw_vbo_without_prim_restart(struct pipe_context *context,
|
||||
assert(!"Bad index size");
|
||||
return PIPE_ERROR_BAD_INPUT;
|
||||
}
|
||||
new_info.index_bounds_valid = true;
|
||||
new_info.min_index = ranges.min_index;
|
||||
new_info.max_index = ranges.max_index;
|
||||
|
||||
/* unmap index buffer */
|
||||
if (src_transfer)
|
||||
|
||||
Reference in New Issue
Block a user