radeonsi: correct si_vgt_param_key on big endian machines
authorBas Vermeulen <bas@daedalean.ai>
Mon, 9 Apr 2018 11:06:00 +0000 (13:06 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 9 Apr 2018 17:42:30 +0000 (13:42 -0400)
commitbe628e47494fb19db593a2006feb1c3688014d92
tree5164551f450fdd7161975a7e22bb05f16f0649f1
parentf33e4482b391f8f69abdbd2831ed34c7b0e41138
radeonsi: correct si_vgt_param_key on big endian machines

Using mesa OpenCL failed on a big endian PowerPC machine because
si_vgt_param_key is using bitfields and a 32 bit int for an
index into an array.

Fix si_vgt_param_key to work correctly on both little endian
and big endian machines.

Signed-off-by: Bas Vermeulen <bas@daedalean.ai>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h