Re: [Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-23 Thread Samuel Iglesias Gonsálvez
On 22/03/16 17:37, Jason Ekstrand wrote: > On Mar 22, 2016 8:18 AM, "Samuel Iglesias Gonsálvez" > wrote: >> >> >> >> On 21/03/16 23:54, Jason Ekstrand wrote: >>> On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < >>> sigles...@igalia.com> wrote: >>> From:

Re: [Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-22 Thread Jason Ekstrand
On Mar 22, 2016 8:18 AM, "Samuel Iglesias Gonsálvez" wrote: > > > > On 21/03/16 23:54, Jason Ekstrand wrote: > > On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < > > sigles...@igalia.com> wrote: > > > >> From: Iago Toral Quiroga > >> > >>

Re: [Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-22 Thread Samuel Iglesias Gonsálvez
On 21/03/16 23:54, Jason Ekstrand wrote: > On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < > sigles...@igalia.com> wrote: > >> From: Iago Toral Quiroga >> >> Undefined sources in alu operations don't have a valid bit size because >> they are uninitialized.

Re: [Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > Undefined sources in alu operations don't have a valid bit size because > they are uninitialized. Simply ignoring undefined sources for bit size >

[Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-21 Thread Samuel Iglesias Gonsálvez
From: Iago Toral Quiroga Undefined sources in alu operations don't have a valid bit size because they are uninitialized. Simply ignoring undefined sources for bit size validation is not enough since drivers can check and operate with the bit-size and that can lead to issues