ac/nir: mark some arguments const
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 6 Jun 2017 22:52:30 +0000 (01:52 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 7 Jun 2017 21:02:02 +0000 (00:02 +0300)
commitae3262c1f2a287f59d654d44161177d15c2ceb3c
tree147dcf4ec2f2252144317cf1e38c3066fcada594
parentc705caaff9e6cc874e90651d6f8e459741978b06
ac/nir: mark some arguments const

Most functions are only inspecting nir, so nir related arguments can be
marked const. Some more can be done if/when some nir changes are
accepted.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c