summaryrefslogtreecommitdiff
path: root/VERSION
diff options
context:
space:
mode:
authorAxel Davy <davyaxel0@gmail.com>2020-05-10 20:12:56 +0200
committerDylan Baker <dylan.c.baker@intel.com>2020-05-12 11:08:44 -0700
commit50781aaa1b95a07b5b5aeb23872b26c21e52151f (patch)
tree4e7ec80f98530f2b0417a646fc0725fb7c62e1cb /VERSION
parent787cecdb02f9345eeb28d3e13b96494c3d6dae61 (diff)
gallium/util: Fix leak in the live shader cache
When the nir backend is used, the create_shader call is supposed to release state->ir.nir. When the cache hits, create_shader is not called, thus state->ir.nir should be freed. There is nothing to be done for the TGSI case as the tokens release is done by the caller. This fixes a leak noticed in: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2931 Fixes: 4bb919b0b8b4ed6f6a7049c3f8d294b74b50e198 Signed-off-by: Axel Davy <davyaxel0@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4980> (cherry picked from commit 47bfc799da61aadd60ef9cc5c4bf0651c519cc77)
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions