Re: [Mesa-dev] [PATCH 2/2] nir: Implement __intrinsic_load_ssbo

2015-09-24 Thread Kristian Høgsberg
Yes, that's fine - we modify instr so we need to update dest. Kristian > On Sep 24, 2015, at 1:59 AM, Samuel Iglesias Gonsálvez > wrote: > > > >> On 23/09/15 12:07, Samuel Iglesias Gonsalvez wrote: >> From: Iago Toral Quiroga >> >> v2: >> - Fix ssbo loads with boolean variables. >> >> v3

Re: [Mesa-dev] [PATCH 2/2] nir: Implement __intrinsic_load_ssbo

2015-09-24 Thread Samuel Iglesias Gonsálvez
On 23/09/15 12:07, Samuel Iglesias Gonsalvez wrote: > From: Iago Toral Quiroga > > v2: > - Fix ssbo loads with boolean variables. > > v3: > - Simplify the changes (Kristian) > > Reviewed-by: Connor Abbott > --- > src/glsl/nir/glsl_to_nir.cpp| 66 > ++

[Mesa-dev] [PATCH 2/2] nir: Implement __intrinsic_load_ssbo

2015-09-23 Thread Samuel Iglesias Gonsalvez
From: Iago Toral Quiroga v2: - Fix ssbo loads with boolean variables. v3: - Simplify the changes (Kristian) Reviewed-by: Connor Abbott --- src/glsl/nir/glsl_to_nir.cpp| 66 + src/glsl/nir/nir_intrinsics.h | 2 +- src/glsl/nir/nir_lower_ph