Module: Mesa Branch: master Commit: d6bc35934f3d1150a1da0edfb0746cd0ae8bd63b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6bc35934f3d1150a1da0edfb0746cd0ae8bd63b
Author: Connor Abbott <cwabbo...@gmail.com> Date: Tue Mar 17 01:03:28 2015 -0400 nir: constify nir_ssa_alu_instr_src_components() Reviewed-by: Jason Ekstrand <jason.ekstr...@intel.com> Signed-off-by: Connor Abbott <cwabbo...@gmail.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 95e2191..befc7fc 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -725,7 +725,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); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit