[Mesa-dev] [Bug 108312] Failed to allocate buffer on big endian machine - buffer size not byte swapped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 10 15:23:08 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108312

--- Comment #1 from Bas Vermeulen <bas at daedalean.ai> ---
I've tracked it down to src/gallium/drivers/radeonsi/si_compute.c, functions
si_switch_compute_shader and/or si_launch_grid, where amd_kernel_code_t is
available in just little endian. A big endian system will read all the values
inside the amd_kernel_code_t wrong (amd_kernel_code_t uses little endian).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181010/fc7de3e1/attachment.html>


More information about the mesa-dev mailing list