Open cloudwu opened 7 years ago
https://github.com/bkaradzic/bgfx/blob/master/tools/shaderc/shaderc.cpp#L1262-L1263
bx::write(writer, BGFX_CHUNK_MAGIC_FSH); bx::write(writer, inputHash);
it should use bx::writeLE to avoid endianness problem ?
bx::writeLE
Yeah it is a problem, but nowadays all available CPUs are little endian... Will deal with this once I have some PowerPC dev board or something.
https://github.com/bkaradzic/bgfx/blob/master/tools/shaderc/shaderc.cpp#L1262-L1263
it should use
bx::writeLE
to avoid endianness problem ?