Skip to content

panfrost: fix off-by-one when exporting format modifiers

Italo Nicola requested to merge italove/mesa:pan_format_modifier into main

count should not be incremented before the check, because it causes the modifiers array to be filled starting from position 1 instead of 0.

cc @alyssa @bbrezillon @cphealy

Merge request reports