Skip to content

util/prim_restart: revert part of bad fix

When drawing using util_translate_prim_restart_ib, zink explicitly ignores pipe_draw_start_count_bias::start, because util_translate_prim_restart_ib used to create a new index-buffer without padding at the start.

This makes a lot of sense, because creating a padded index buffer is just wasteful.

So let's walk back on the choice of starting to pad the output buffer.

Fixes: 1272c2e0 ("util/prim_restart: fix util_translate_prim_restart_ib") Closes: #4851 (closed)

Merge request reports