aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_nir.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-05 09:15:52 +1100
committerTimothy Arceri <[email protected]>2018-02-07 08:38:01 +1100
commitffeebcfa7eca90b62ca362a16b5f08ae44ff9ac8 (patch)
treebde00a5f019968aad8bdc95ec235e1cfdcf2ec74 /src/intel/compiler/brw_nir.c
parenta3e42e7a69600f0a14f08a7f370aabb85d5a8632 (diff)
i965: remove unused brw_nir_lower_cs_shared()
This has been unused since 8761a04d0d93. Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r--src/intel/compiler/brw_nir.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index 287bd4908d9..cbfafd4db02 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -503,14 +503,6 @@ brw_nir_lower_fs_outputs(nir_shader *nir)
nir_lower_io(nir, nir_var_shader_out, type_size_dvec4, 0);
}
-void
-brw_nir_lower_cs_shared(nir_shader *nir)
-{
- nir_assign_var_locations(&nir->shared, &nir->num_shared,
- type_size_scalar_bytes);
- nir_lower_io(nir, nir_var_shared, type_size_scalar_bytes, 0);
-}
-
#define OPT(pass, ...) ({ \
bool this_progress = false; \
NIR_PASS(this_progress, nir, pass, ##__VA_ARGS__); \