summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-14 15:19:49 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:24 -0800
commitd3636da9026dd10493fb57b0d6803e33166abd1b (patch)
treef2ba2461f378c7bedad73219a9ca3350376b8397 /src/glsl/nir/nir.h
parent700ba5daaf9ec340dc967bbf1ba355470a573b37 (diff)
nir: Add a pass for lowering copy instructions
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 12cac728cff..1faeb02156c 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1461,6 +1461,9 @@ void nir_dump_cfg(nir_shader *shader, FILE *fp);
void nir_split_var_copies(nir_shader *shader);
+void nir_lower_var_copy_instr(nir_intrinsic_instr *copy, void *mem_ctx);
+void nir_lower_var_copies(nir_shader *shader);
+
void nir_lower_global_vars_to_local(nir_shader *shader);
void nir_lower_locals_to_regs(nir_shader *shader);