Skip to content

panfrost: Fix panfrost_small_padded_vertex_count for 17 vertices

Icecream95 requested to merge icecream95/mesa:vert-pad into master

All odd numbers above 10 need to be rounded up to an even number, so add one and mask off the least significant bit instead of maintaining a list of special cases.

Fixes crashes in SuperTuxKart.

Cc: mesa-stable

Merge request reports

Loading