Skip to content
Snippets Groups Projects
Commit 165e05d2 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Eric Engestrom
Browse files

zink: force-add usage when adding last-ref tracking


this fixes desync+crash when:
1. usage is added for bs A
2. tracking is added for bs B
3. tracking is removed for bs B
4. context is destroyed
5. usage A is now dangling and will crash if accessed

as seen in glmark2

cc: mesa-stable

Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!15429>
(cherry picked from commit 7da211e2)
parent adde3a7c
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