Re: [Mesa-dev] [PATCH v2 16/23] mesa: Add _mesa_pack_uint_rgba_row() format conversion function

2014-12-02 Thread Jason Ekstrand
On Tue, Dec 2, 2014 at 2:32 AM, Iago Toral wrote: > On Mon, 2014-12-01 at 11:14 -0800, Jason Ekstrand wrote: > > > > > > On Mon, Dec 1, 2014 at 3:04 AM, Iago Toral Quiroga > > wrote: > > From: Samuel Iglesias Gonsalvez > > > > We will use this later on to handle uint conversion

Re: [Mesa-dev] [PATCH v2 16/23] mesa: Add _mesa_pack_uint_rgba_row() format conversion function

2014-12-02 Thread Iago Toral
On Mon, 2014-12-01 at 11:14 -0800, Jason Ekstrand wrote: > > > On Mon, Dec 1, 2014 at 3:04 AM, Iago Toral Quiroga > wrote: > From: Samuel Iglesias Gonsalvez > > We will use this later on to handle uint conversion scenarios > in a master > convert functio

Re: [Mesa-dev] [PATCH v2 16/23] mesa: Add _mesa_pack_uint_rgba_row() format conversion function

2014-12-02 Thread Samuel Iglesias Gonsálvez
On 01/12/14 20:14, Jason Ekstrand wrote: > On Mon, Dec 1, 2014 at 3:04 AM, Iago Toral Quiroga > wrote: > >> From: Samuel Iglesias Gonsalvez >> >> We will use this later on to handle uint conversion scenarios in a master >> convert function. >> >> v2: >> - Modify pack_uint_*() function generati

Re: [Mesa-dev] [PATCH v2 16/23] mesa: Add _mesa_pack_uint_rgba_row() format conversion function

2014-12-01 Thread Jason Ekstrand
On Mon, Dec 1, 2014 at 3:04 AM, Iago Toral Quiroga wrote: > From: Samuel Iglesias Gonsalvez > > We will use this later on to handle uint conversion scenarios in a master > convert function. > > v2: > - Modify pack_uint_*() function generation to use c.datatype() and > f.datatype(). > - Remove

[Mesa-dev] [PATCH v2 16/23] mesa: Add _mesa_pack_uint_rgba_row() format conversion function

2014-12-01 Thread Iago Toral Quiroga
From: Samuel Iglesias Gonsalvez We will use this later on to handle uint conversion scenarios in a master convert function. v2: - Modify pack_uint_*() function generation to use c.datatype() and f.datatype(). - Remove UINT_TO_FLOAT() macro usage from pack_uint*() - Remove "if not f.is_normaliz