nir: Constify prog_to_nir's gl_program pointer.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Apr 2015 22:07:33 +0000 (15:07 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Apr 2015 09:15:58 +0000 (02:15 -0700)
commitd0f39a2fcd82da9b1e293ddfd2f5ea6e78d28df8
tree346c3f0302996fd5e2fd1ac0cad7d91e9a3b988f
parent50e9fa2ed69cb5f76f66231976ea789c0091a64d
nir: Constify prog_to_nir's gl_program pointer.

prog_to_nir should not modify the incoming Mesa IR program - just
translate it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/program/prog_to_nir.c
src/mesa/program/prog_to_nir.h