radeonsi/nir: implement pipe_screen::finalize_nir
[mesa.git] / src / gallium / drivers / radeonsi / si_compute.c
index ba8271d3fe3f2e4420fa2cbd7b42208072d08ce3..19d4cca0dba63e6a2cc1b798b8c84cf4e8333ac9 100644 (file)
@@ -126,9 +126,7 @@ static void si_create_compute_state_async(void *job, int thread_index)
        } else {
                assert(program->ir_type == PIPE_SHADER_IR_NIR);
 
-               si_nir_opts(sel->nir);
                si_nir_scan_shader(sel->nir, &sel->info);
-               si_lower_nir(sel->screen, sel->nir);
        }
 
        /* Store the declared LDS size into tgsi_shader_info for the shader