From 98d58e73204a9ba84fb70ad29651659399dcc8bd Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 12 Feb 2016 20:51:50 -0800 Subject: nir/clone: Add support for cloning a single function_impl Reviewed-by: Jordan Justen --- src/compiler/nir/nir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/nir/nir.h') diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 40169adbcf2..34f31eb9859 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1995,6 +1995,7 @@ void nir_print_shader(nir_shader *shader, FILE *fp); void nir_print_instr(const nir_instr *instr, FILE *fp); nir_shader * nir_shader_clone(void *mem_ctx, const nir_shader *s); +nir_function_impl *nir_function_impl_clone(const nir_function_impl *fi); #ifdef DEBUG void nir_validate_shader(nir_shader *shader); -- cgit v1.2.3