nir: add callback to nir_remove_dead_variables()
[mesa.git] / src / intel / blorp / blorp.c
index d60d75e16c63492be9932e90fa896ccff99f0a90..c3181a19e6c587047735ceaaeda664b43ede19b7 100644 (file)
@@ -191,7 +191,7 @@ blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx,
    wm_prog_data->base.binding_table.texture_start = BLORP_TEXTURE_BT_INDEX;
 
    brw_preprocess_nir(compiler, nir, NULL);
-   nir_remove_dead_variables(nir, nir_var_shader_in);
+   nir_remove_dead_variables(nir, nir_var_shader_in, NULL);
    nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
 
    if (blorp->compiler->devinfo->gen < 6) {