i965: remove unused brw_nir_lower_cs_shared()
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 4 Feb 2018 22:15:52 +0000 (09:15 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 6 Feb 2018 21:38:01 +0000 (08:38 +1100)
This has been unused since 8761a04d0d93.

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_nir.h

index 287bd4908d9fa8826fe525e496289da8ec14fc9d..cbfafd4db02faebc1d72b163249ab6d34a41a384 100644 (file)
@@ -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__);      \
index 3bef99417e787c90d1239a8317487aaa7ca2fdb5..03f52da08e59016b9de0c283e432909fe453356f 100644 (file)
@@ -113,7 +113,6 @@ void brw_nir_lower_vue_outputs(nir_shader *nir, bool is_scalar);
 void brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue,
                                GLenum tes_primitive_mode);
 void brw_nir_lower_fs_outputs(nir_shader *nir);
-void brw_nir_lower_cs_shared(nir_shader *nir);
 
 nir_shader *brw_postprocess_nir(nir_shader *nir,
                                 const struct brw_compiler *compiler,