| commit | eb86717f4d90e9426c3397a31b8627bc86e3913a | [log] [tgz] |
|---|---|---|
| author | Rhys Perry <pendingchaos02@gmail.com> | Thu Jun 19 12:36:46 2025 +0100 |
| committer | Marge Bot <marge-bot@fdo.invalid> | Fri Jun 20 09:26:58 2025 +0000 |
| tree | b35e3a1b4a31f0809a3d5bdccd4b5293853aa34d | |
| parent | 92eb0941d325e5a353743ab5899a63b7a9b7add4 [diff] |
util/stats: add serialize helpers These copy the stats with any padding zero'd. The layout is the same as the C struct, so it's still usable as one, if the alignment is correct. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35583>