diff options
author | Eric Anholt <[email protected]> | 2019-03-12 17:07:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-03-14 16:18:38 -0700 |
commit | e0806c1ea079b1d78735290b0e24b02eb042b2c3 (patch) | |
tree | c98f1424fac5f9d79ad869d8d14c45a880a5c1b5 /src/imgui/imgui.h | |
parent | 1ea42894c70f271c6ea958a9d3cc7ba8c5948c2e (diff) |
mesa/st: Make sure that prog_to_nir NIR gets freed.
GLSL NIR gets freed on relink by _mesa_delete_program(), but for ARB
programs we need to free the old NIR when PSN is used to set up new NIR in
the same gl_program. Additionally, set the base .nir field so that it
will get freed by _mesa_delete_program().
Fixes: 3d7611e9a6c6 ("st/nir: use NIR for asm programs")
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/imgui/imgui.h')
0 files changed, 0 insertions, 0 deletions