| commit | e488b2f85e8e5617bc0a51991653bb4d6d599069 | [log] [tgz] |
|---|---|---|
| author | Yiwei Zhang <zzyiwei@chromium.org> | Wed Apr 03 14:36:48 2024 -0700 |
| committer | Marge Bot <emma+marge@anholt.net> | Wed Apr 10 01:01:37 2024 +0000 |
| tree | aecb1decbddefc06eb2bfb749b7ca452f3475966 | |
| parent | 799ac5d77be1e5b27bc2f8b37aaa19ac3cc35a7b [diff] |
venus: optimize mutable state restore Summary: 1. skip zero count 2. no need to check last binding count on the restore path 3. flatten the helper to avoid a 2nd pass in free_descriptors Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28563>