diff options
author | Connor Abbott <[email protected]> | 2015-03-17 01:03:28 -0400 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2015-10-09 10:14:20 -0400 |
commit | d6bc35934f3d1150a1da0edfb0746cd0ae8bd63b (patch) | |
tree | ae08d4aa4653f0ef4d370623d5d0585996a15fba /src/glsl/nir/nir.h | |
parent | 20d6d812dc9d35cb082142ac6c9744971692797e (diff) |
nir: constify nir_ssa_alu_instr_src_components()
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 95e219168c1..befc7fce724 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); |