panfrost: fix off-by-one when exporting format modifiers
count
should not be incremented before the check, because it causes
the modifiers array to be filled starting from position 1 instead of 0.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
count
should not be incremented before the check, because it causes
the modifiers array to be filled starting from position 1 instead of 0.