radeonsi/nir: simplify si_lower_nir signature
[mesa.git] / src / gallium / drivers / radeonsi / si_state_shaders.c
index b2071a21b31c96068fd2d025cb05130953c5fb9b..04ff331444b3077552af5cb86c9a670570195870 100644 (file)
@@ -2473,7 +2473,7 @@ static void si_init_shader_selector_async(void *job, int thread_index)
        compiler = &sscreen->compiler[thread_index];
 
        if (sel->nir)
-               si_lower_nir(sel);
+               si_lower_nir(sel->screen, sel->nir);
 
        /* Compile the main shader part for use with a prolog and/or epilog.
         * If this fails, the driver will try to compile a monolithic shader