i965: Pass compiler to default key populators
[mesa.git] / src / mesa / drivers / dri / i965 / brw_program_binary.c
index 1298d9e765ec27e7d9c48b16bf00f118ebec723a..a1502695ac1cc82c1e79bb787a9d98441ace636e 100644 (file)
@@ -251,7 +251,7 @@ serialize_gen_part(struct blob *writer, struct gl_context *ctx,
    struct brw_context *brw = brw_context(ctx);
 
    union brw_any_prog_key key;
-   brw_populate_default_key(&brw->screen->devinfo, &key, sh_prog, prog);
+   brw_populate_default_key(brw->screen->compiler, &key, sh_prog, prog);
 
    const gl_shader_stage stage = prog->info.stage;
    uint32_t offset = 0;