Re: [Mesa-dev] [PATCH 2/2] radeonsi: convert dispatch packet to little endian

2018-04-09 Thread Marek Olšák
I pushed both patches, thanks. Marek On Mon, Apr 9, 2018 at 7:06 AM, Bas Vermeulen wrote: > The parameters for the compute engine are wrong when using > an E8860 on a big endian machine. > To fix this, convert the contents of struct dispatch_packet > to little endian. > > This ensures that get_

Re: [Mesa-dev] [PATCH 2/2] radeonsi: convert dispatch packet to little endian

2018-04-09 Thread Michel Dänzer
On 2018-04-09 01:06 PM, Bas Vermeulen wrote: > The parameters for the compute engine are wrong when using > an E8860 on a big endian machine. > To fix this, convert the contents of struct dispatch_packet > to little endian. > > This ensures that get_global_id(0) and similar functions > in the Open

[Mesa-dev] [PATCH 2/2] radeonsi: convert dispatch packet to little endian

2018-04-09 Thread Bas Vermeulen
The parameters for the compute engine are wrong when using an E8860 on a big endian machine. To fix this, convert the contents of struct dispatch_packet to little endian. This ensures that get_global_id(0) and similar functions in the OpenCL code get the correct endian values, and makes my simple