Re: [Mesa-dev] [PATCH v2 10.1/11] nir: Add a fdot instruction that replicates the result to a vec4

2015-09-11 Thread Jason Ekstrand
On Fri, Sep 11, 2015 at 9:00 AM, Connor Abbott wrote: > On Fri, Sep 11, 2015 at 11:52 AM, Jason Ekstrand wrote: >> Fortunately, nir_constant_expr already auto-splats if "dst" never shows up >> in the constant expression field so we don't need to do anything there. >> >> Cc: Connor Abbott >> ---

Re: [Mesa-dev] [PATCH v2 10.1/11] nir: Add a fdot instruction that replicates the result to a vec4

2015-09-11 Thread Connor Abbott
On Fri, Sep 11, 2015 at 11:52 AM, Jason Ekstrand wrote: > Fortunately, nir_constant_expr already auto-splats if "dst" never shows up > in the constant expression field so we don't need to do anything there. > > Cc: Connor Abbott > --- > src/glsl/nir/nir.h| 6 ++ > src/glsl/ni

[Mesa-dev] [PATCH v2 10.1/11] nir: Add a fdot instruction that replicates the result to a vec4

2015-09-11 Thread Jason Ekstrand
Fortunately, nir_constant_expr already auto-splats if "dst" never shows up in the constant expression field so we don't need to do anything there. Cc: Connor Abbott --- src/glsl/nir/nir.h| 6 ++ src/glsl/nir/nir_opcodes.py | 3 +++ src/glsl/nir/nir_opt_algebraic.py | 3