aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_opt_dce.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-28 10:11:11 -0700
committerKenneth Graunke <[email protected]>2015-11-03 17:06:48 -0800
commit531be601d5f9ac4f8a9cc77240ba865fda077709 (patch)
tree0f651fe68bc6b19a70886c2612e1da5f83c33474 /src/glsl/nir/nir_opt_dce.c
parent4bc16ad2176efda5f8c59e222b4735ee35c434b5 (diff)
nir: Unexpose _impl versions of copy_prop and dce
Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_opt_dce.c')
-rw-r--r--src/glsl/nir/nir_opt_dce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_opt_dce.c b/src/glsl/nir/nir_opt_dce.c
index e0ebdc61c2f..603252825c3 100644
--- a/src/glsl/nir/nir_opt_dce.c
+++ b/src/glsl/nir/nir_opt_dce.c
@@ -145,7 +145,7 @@ delete_block_cb(nir_block *block, void *_state)
return true;
}
-bool
+static bool
nir_opt_dce_impl(nir_function_impl *impl)
{
struct exec_list *worklist = ralloc(NULL, struct exec_list);