nir: make various getters take const pointers
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 6 Jun 2017 23:19:15 +0000 (02:19 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 10 Jun 2017 13:48:45 +0000 (16:48 +0300)
commit29b9f357049ddd85f3423f9c68ee8ed6bebbd3c1
tree073956b0e6120a2c3c362a3ce49f64aacf9df615
parente179a3438a7794b13a1ffd3fbc65ac6e68e3f0de
nir: make various getters take const pointers

This will allow to constify other things.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io.c