Re: [Mesa-dev] [PATCH 08/29] nir/format_convert: Add linear <-> sRGB helpers

2018-03-06 Thread Pohjolainen, Topi
On Tue, Mar 06, 2018 at 09:53:03AM -0800, Jason Ekstrand wrote: > On Sat, Mar 3, 2018 at 11:57 PM, Pohjolainen, Topi < > topi.pohjolai...@gmail.com> wrote: > > > On Fri, Jan 26, 2018 at 05:59:37PM -0800, Jason Ekstrand wrote: > > > --- > > > src/compiler/nir/nir_format_convert.h | 26

Re: [Mesa-dev] [PATCH 08/29] nir/format_convert: Add linear <-> sRGB helpers

2018-03-06 Thread Jason Ekstrand
On Sat, Mar 3, 2018 at 11:57 PM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Fri, Jan 26, 2018 at 05:59:37PM -0800, Jason Ekstrand wrote: > > --- > > src/compiler/nir/nir_format_convert.h | 26 ++ > > 1 file changed, 26 insertions(+) > > I don't what is the

Re: [Mesa-dev] [PATCH 08/29] nir/format_convert: Add linear <-> sRGB helpers

2018-03-04 Thread Jason Ekstrand
On March 4, 2018 01:57:33 "Pohjolainen, Topi" wrote: On Fri, Jan 26, 2018 at 05:59:37PM -0800, Jason Ekstrand wrote: --- src/compiler/nir/nir_format_convert.h | 26 ++ 1 file changed, 26 insertions(+) I don't what is the official reference for the formulas and I jus

Re: [Mesa-dev] [PATCH 08/29] nir/format_convert: Add linear <-> sRGB helpers

2018-03-03 Thread Pohjolainen, Topi
On Fri, Jan 26, 2018 at 05:59:37PM -0800, Jason Ekstrand wrote: > --- > src/compiler/nir/nir_format_convert.h | 26 ++ > 1 file changed, 26 insertions(+) I don't what is the official reference for the formulas and I just took what google gave me first. There was discussion

[Mesa-dev] [PATCH 08/29] nir/format_convert: Add linear <-> sRGB helpers

2018-01-26 Thread Jason Ekstrand
--- src/compiler/nir/nir_format_convert.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/src/compiler/nir/nir_format_convert.h b/src/compiler/nir/nir_format_convert.h index e09c955..07618dc 100644 --- a/src/compiler/nir/nir_format_convert.h +++ b/src/compiler/nir/