Skip to content

nir: Use const for nir_shader_get_entrypoint(..)

Christian Gmeiner requested to merge austriancoder/mesa:nir-const into main

nir_shader_get_entrypoint(..) should not modify the passed nir_shader object. Enforce this by marking shader paramenter as const.

Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com

Merge request reports