mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
Revert "i965: Delete linked GLSL IR when using NIR."
This reverts commit 104c8fc2c2.
This commit is contained in:
parent
61912036d1
commit
cae701fc8e
1 changed files with 1 additions and 4 deletions
|
|
@ -387,11 +387,8 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
|
|||
|
||||
brw_add_texrect_params(prog);
|
||||
|
||||
if (options->NirOptions) {
|
||||
if (options->NirOptions)
|
||||
prog->nir = brw_create_nir(brw, shProg, prog, (gl_shader_stage) stage);
|
||||
ralloc_free(shader->ir);
|
||||
shader->ir = NULL;
|
||||
}
|
||||
|
||||
_mesa_reference_program(ctx, &prog, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue