[Mesa-dev] [PATCH 2/5] nir: constify nir_ssa_alu_instr_src_components()

Pohjolainen, Topi topi.pohjolainen at intel.com
Mon Jun 1 03:17:53 PDT 2015


On Fri, May 22, 2015 at 02:24:49PM -0400, Connor Abbott wrote:
> Signed-off-by: Connor Abbott <cwabbott0 at gmail.com>

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

> ---
>  src/glsl/nir/nir.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
> index f04195f..e3b7b17 100644
> --- a/src/glsl/nir/nir.h
> +++ b/src/glsl/nir/nir.h
> @@ -722,7 +722,7 @@ nir_alu_instr_channel_used(nir_alu_instr *instr, unsigned src, unsigned channel)
>   * used for a source
>   */
>  static inline unsigned
> -nir_ssa_alu_instr_src_components(nir_alu_instr *instr, unsigned src)
> +nir_ssa_alu_instr_src_components(const nir_alu_instr *instr, unsigned src)
>  {
>     assert(instr->dest.dest.is_ssa);
>  
> -- 
> 2.1.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list