Re: [Mesa-dev] [PATCH 09/20] i965/fs: Import image format conversion primitives.

2015-07-23 Thread Francisco Jerez
Jason Ekstrand writes: > On Tue, Jul 21, 2015 at 9:38 AM, Francisco Jerez > wrote: >> Define bitfield packing, unpacking and type conversion operations in >> terms of which the image format conversion code will be implemented. >> These don't directly know about image formats: The packing and >>

Re: [Mesa-dev] [PATCH 09/20] i965/fs: Import image format conversion primitives.

2015-07-22 Thread Jason Ekstrand
On Tue, Jul 21, 2015 at 9:38 AM, Francisco Jerez wrote: > Define bitfield packing, unpacking and type conversion operations in > terms of which the image format conversion code will be implemented. > These don't directly know about image formats: The packing and > unpacking functions take a 4-tupl

[Mesa-dev] [PATCH 09/20] i965/fs: Import image format conversion primitives.

2015-07-21 Thread Francisco Jerez
Define bitfield packing, unpacking and type conversion operations in terms of which the image format conversion code will be implemented. These don't directly know about image formats: The packing and unpacking functions take a 4-tuple of bit shifts and a 4-tuple of bit widths as arguments, determi