mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 20:08:06 +02:00
A significant CPU performance bottleneck in mesa GL is refcounting atomics: even with the current pinning attempts, eliminating them can yield huge performance gains (easily verified by running drawoverhead with return false at the top of pipe_reference_described()). This is a proof of concept for removing refcounts from gallium objects, namely sampler views and resources. Sampler views were smaller in scope, so I started there. This MR alone is not expected to noticeably affect performance, though if applied to all drivers/frontends, it would enable a bunch of code deletion for crazy samplerview refcounting hacks currently used to try circumventing the existing overhead. Co-authored-by: Karol Herbst <kherbst@redhat.com Co-authored-by: David Rosca <david.rosca@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33813> |
||
|---|---|---|
| .. | ||
| trace | ||
| addr2line.sh | ||