Skip to content
Snippets Groups Projects
Commit d6894b64 authored by Rhys Perry's avatar Rhys Perry Committed by Marge Bot
Browse files

radv: fix use-after-free upon GS copy shader cache hits


If radv_pipeline_cache_insert_shaders() finds a GS copy shader in the
cache, it will free the variant in gs_variants and replace it with the one
in the cache.

Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable
Part-of: <!10433>
parent 32ebbd8c
No related branches found
No related tags found
1 merge request!10433radv,vulkan: fix some use-after-free
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment