Re: [Mesa-dev] [PATCH 22/29] intel/isl: Add format conversion code

2018-03-06 Thread Jason Ekstrand
On Tue, Mar 6, 2018 at 5:06 AM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Fri, Jan 26, 2018 at 05:59:51PM -0800, Jason Ekstrand wrote: > > This adds helpers to ISL to convert an isl_color_value to and from > > binary data encoded with a given isl_format. The conversion is done >

Re: [Mesa-dev] [PATCH 22/29] intel/isl: Add format conversion code

2018-03-06 Thread Pohjolainen, Topi
On Fri, Jan 26, 2018 at 05:59:51PM -0800, Jason Ekstrand wrote: > This adds helpers to ISL to convert an isl_color_value to and from > binary data encoded with a given isl_format. The conversion is done > using ISL's built-in format introspection so it's fairly slow as format > conversions go but

[Mesa-dev] [PATCH 22/29] intel/isl: Add format conversion code

2018-01-26 Thread Jason Ekstrand
This adds helpers to ISL to convert an isl_color_value to and from binary data encoded with a given isl_format. The conversion is done using ISL's built-in format introspection so it's fairly slow as format conversions go but it should be fine for a single pixel value. In particular, we can use t