Re: [Mesa-dev] [PATCH v2 13/23] nir/glsl_to_nir: set the bit-size in the result of evaluate_rvalue

2016-04-04 Thread Samuel Iglesias Gonsálvez
On 01/04/16 22:45, Jason Ekstrand wrote: > On Thu, Mar 31, 2016 at 3:00 AM, Samuel Iglesias Gonsálvez < > sigles...@igalia.com> wrote: > >> From: Iago Toral Quiroga >> >> Found while testing UBO loads in scenarios like this: >> >> (assign (x) (var_ref vec_ctor) >>

Re: [Mesa-dev] [PATCH v2 13/23] nir/glsl_to_nir: set the bit-size in the result of evaluate_rvalue

2016-04-01 Thread Jason Ekstrand
On Thu, Mar 31, 2016 at 3:00 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > Found while testing UBO loads in scenarios like this: > > (assign (x) (var_ref vec_ctor) > (expression float d2f > (expression double ubo_load

[Mesa-dev] [PATCH v2 13/23] nir/glsl_to_nir: set the bit-size in the result of evaluate_rvalue

2016-03-31 Thread Samuel Iglesias Gonsálvez
From: Iago Toral Quiroga Found while testing UBO loads in scenarios like this: (assign (x) (var_ref vec_ctor) (expression float d2f (expression double ubo_load (constant uint (0)) (constant uint (0) Without this patch, the src expression of d2f would be evaluated