nir: add a strip parameter to nir_serialize
[mesa.git] / src / gallium / drivers / radeonsi / si_state_shaders.c
index 04443db7a440964b7a55d4b3830b06b52f4e7ad8..b2071a21b31c96068fd2d025cb05130953c5fb9b 100644 (file)
@@ -59,7 +59,7 @@ void *si_get_ir_binary(struct si_shader_selector *sel, bool ngg, bool es)
                assert(sel->nir);
 
                blob_init(&blob);
-               nir_serialize(&blob, sel->nir);
+               nir_serialize(&blob, sel->nir, true);
                ir_binary = blob.data;
                ir_size = blob.size;
        }