Re: [Mesa-dev] [PATCH 02/12] nir/builder: only read meaningful channels in nir_swizzle()

2015-08-14 Thread Timothy Arceri
On Fri, 2015-08-14 at 15:30 -0700, Connor Abbott wrote: > This way the caller doesn't have to initialize all 4 channels when they > aren't using them. > > Signed-off-by: Connor Abbott > --- > src/glsl/nir/nir_builder.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src

[Mesa-dev] [PATCH 02/12] nir/builder: only read meaningful channels in nir_swizzle()

2015-08-14 Thread Connor Abbott
This way the caller doesn't have to initialize all 4 channels when they aren't using them. Signed-off-by: Connor Abbott --- src/glsl/nir/nir_builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_builder.h b/src/glsl/nir/nir_builder.h index 1745453..9592b8