Skip to content

mesa/main: Always initialize the restart_index in pipe_draw_info

Gert Wollny requested to merge gerddie/mesa:fix-initialize-draw-info into master

Drivers have a different approach to handle this value, some check whether primitive_restart when checking restart_index, some don't. In any case it seems cheaper to initialize the value instead of later checking whether it should be used or not.

Closes #4651

@anholt @mareko

Merge request reports