Skip to content

util: include u_endian.h in u_math.h

Rhys Perry requested to merge pendingchaos/mesa:math_include_endian into master

u_endian.h needs to be included, otherwise PIPE_ARCH_BIG_ENDIAN might not be defined on big-endian architectures and the endian conversion macros will be incorrect.

I don't think anything is broken because of this, I just noticed this when looking at the file.

Merge request reports