<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to allocate buffer on big endian machine - buffer size not byte swapped"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108312#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to allocate buffer on big endian machine - buffer size not byte swapped"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108312">bug 108312</a>
from <span class="vcard"><a class="email" href="mailto:bas@daedalean.ai" title="Bas Vermeulen <bas@daedalean.ai>"> <span class="fn">Bas Vermeulen</span></a>
</span></b>
<pre>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).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>