nir: add a strip parameter to nir_serialize
[mesa.git] / src / gallium / drivers / radeonsi / si_shader_nir.c
index 6c267bbdafaa0c9cdd74f169316e41df3fcc0b44..e97e5ccb07b2653806ee8c9c103fe9f6c75814e5 100644 (file)
@@ -1004,11 +1004,6 @@ void si_lower_nir(struct si_shader_selector *sel)
        si_nir_opts(sel->nir);
 
        NIR_PASS_V(sel->nir, nir_lower_bool_to_int32);
-
-       /* Strip the resulting shader so that the shader cache is more likely
-        * to hit from other similar shaders.
-        */
-       nir_strip(sel->nir);
 }
 
 static void declare_nir_input_vs(struct si_shader_context *ctx,