Re: [Mesa-dev] [PATCH 02/11] intel/compiler: fix isign for 16-bit integers

2018-04-24 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Wed, Apr 11, 2018 at 12:20 AM, Iago Toral Quiroga wrote: > We need to use 16-bit constants with 16-bit instructions, > otherwise we get the following validation error: > > "Destination stride must be equal to the ratio of the sizes of > the execution data type to

[Mesa-dev] [PATCH 02/11] intel/compiler: fix isign for 16-bit integers

2018-04-11 Thread Iago Toral Quiroga
We need to use 16-bit constants with 16-bit instructions, otherwise we get the following validation error: "Destination stride must be equal to the ratio of the sizes of the execution data type to the destination type" Because the execution data type is 4B due to the 32-bit integer constant. ---