mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
radeonsi: Fix LLVM context leak.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
18abc270c5
commit
4b64fa2ff1
1 changed files with 1 additions and 0 deletions
|
|
@ -681,6 +681,7 @@ int si_pipe_shader_create(
|
|||
shader->num_vgprs = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 4));
|
||||
shader->spi_ps_input_ena = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 8));
|
||||
|
||||
radeon_llvm_dispose(&si_shader_ctx.radeon_bld);
|
||||
tgsi_parse_free(&si_shader_ctx.parse);
|
||||
|
||||
/* copy new shader */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue