You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I don't think this is the best way forward. It depends on __bswap_32 which is gcc/clang specific and wouldn't work on Windows. The MagicNumber cast is also ugly though it does not violate strict-aliasing rules.
The text was updated successfully, but these errors were encountered:
The test suite for glslang includes a little-endian binary, and on Power9 (big endian) the remap tests fail with:
A naive patch makes it pass:
However, I don't think this is the best way forward. It depends on
__bswap_32
which is gcc/clang specific and wouldn't work on Windows. TheMagicNumber
cast is also ugly though it does not violate strict-aliasing rules.The text was updated successfully, but these errors were encountered: