Re: [Mesa-dev] 3 element vectors in opencl 1.1+

2014-04-22 Thread Tom Stellard
On Mon, Apr 21, 2014 at 10:02:27PM -0400, Jan Vesely wrote: > Hi, > > I ran into a problem caused by this part of the OCL specs (6.1.5 > Alignment of Types): > "For 3-component vector data types, the size of the data type is 4 * > sizeof(component)." > > and the corresponding part of Khronos cl_p

[Mesa-dev] 3 element vectors in opencl 1.1+

2014-04-21 Thread Jan Vesely
Hi, I ran into a problem caused by this part of the OCL specs (6.1.5 Alignment of Types): "For 3-component vector data types, the size of the data type is 4 * sizeof(component)." and the corresponding part of Khronos cl_platform.h (with all types, not just float): /* cl_float3 is identical in siz