diff options
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 0ef83a174c2..3fb9d3b5fbe 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -521,8 +521,8 @@ nir_dest_for_reg(nir_register *reg) return dest; } -nir_src nir_src_copy(nir_src src, void *mem_ctx); -nir_dest nir_dest_copy(nir_dest dest, void *mem_ctx); +void nir_src_copy(nir_src *dest, const nir_src *src, void *mem_ctx); +void nir_dest_copy(nir_dest *dest, const nir_dest *src, void *mem_ctx); typedef struct { nir_src src; |