freedreno: Break out of "should we free the entry" loop once we've freed.
Fixes a use-after-free of the state on the next iteration when it was
probably just destroyed.
Fixes: 6de01faac5a2 ("freedreno/a6xx: invalidate tex state cache entries on rebind")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7695>
(cherry picked from commit d3c67d7e7ec6b9cf10fbea0d08e92751b7b0fbae)
Conflicts:
src/gallium/drivers/freedreno/a6xx/fd6_texture.c
diff --git a/.pick_status.json b/.pick_status.json
index d0918e4..af4ea3f 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -4,7 +4,7 @@
"description": "freedreno: Break out of \"should we free the entry\" loop once we've freed.",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": "6de01faac5a20208422fb75d22f2bd88c53f53d8"
},