diff options
author | Jason Ekstrand <[email protected]> | 2016-02-12 20:51:50 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-12 15:48:36 -0800 |
commit | 98d58e73204a9ba84fb70ad29651659399dcc8bd (patch) | |
tree | ac0a17a31e8be4cd6d472461b0ab26fbfa399ac1 /src/compiler/nir/nir.h | |
parent | 036b20948411a5523390c32363677c377f8dab2e (diff) |
nir/clone: Add support for cloning a single function_impl
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |