Skip to content

Fix format transform on big endian platforms

Jakub Kulík requested to merge fix-format-transforms-sparc into main

Two code paths in _mesa_format_convert() are correct only on little endian platforms where packed and array formats match. However, on big endian (e.g. on SPARC) those produce incorrect result.

Fixes issue #6001

Merge request reports