Re: [Mesa-dev] [PATCH 2/2] st/glsl_to_tgsi: fix 64-bit integer bit shifts

2017-03-30 Thread Marek Olšák
On Thu, Mar 30, 2017 at 5:29 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Fix a bug that was caused by a type mismatch in the shfit count between > GLSL and TGSI. I briefly considered adjusting the TGSI semantics, but > since both LLVM and AMD GCN require both arguments to be of the same

[Mesa-dev] [PATCH 2/2] st/glsl_to_tgsi: fix 64-bit integer bit shifts

2017-03-30 Thread Nicolai Hähnle
From: Nicolai Hähnle Fix a bug that was caused by a type mismatch in the shfit count between GLSL and TGSI. I briefly considered adjusting the TGSI semantics, but since both LLVM and AMD GCN require both arguments to be of the same type, it makes more sense to keep TGSI as-is -- it reflects the u