i965/gen7: Add R8_UINT stencil miptree copy for sampling
[mesa.git] / src / mesa / drivers / dri / i965 / blorp.c
index 310061566d986a6efef67dd17b995ca3460c3b81..de627deb6193755a3c50c9495cd6f00d6bde86af 100644 (file)
@@ -174,7 +174,7 @@ brw_blorp_compile_nir_shader(struct brw_context *brw, struct nir_shader *nir,
 
    nir = brw_preprocess_nir(compiler, nir);
    nir_remove_dead_variables(nir, nir_var_shader_in);
-   nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir)->impl);
+   nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
 
    /* Uniforms are required to be lowered before going into compile_fs.  For
     * BLORP, we'll assume that whoever builds the shader sets the location