Skip to content
Snippets Groups Projects
Commit 2c8eba71 authored by Rhys Perry's avatar Rhys Perry Committed by Dylan Baker
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: <mesa/mesa!10433>
(cherry picked from commit d6894b64)
parent 5ddac7c5
No related branches found
No related tags found
No related merge requests found
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