diff options
| author | Natalie Vock <natalie.vock@gmx.de> | 2025-10-17 13:51:15 +0200 |
|---|---|---|
| committer | Marge Bot <marge-bot@fdo.invalid> | 2025-11-06 21:34:33 +0000 |
| commit | a8b75dd0f426e8875534d141610d898b856e53cd (patch) | |
| tree | edf884d861531da6ecb0902dd49cc23747370af6 /src/.clang-format | |
| parent | 1920a99115949dc946f044b10f0ba978319acddb (diff) | |
util: Add sparse bitset data structure
Useful for potentially huge bitsets that are expected to be mostly
filled with zeroes, reducing memory consumption by assuming bits being
zero by default (without wasting memory to store zeroes).
Co-authored-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37908>
Diffstat (limited to 'src/.clang-format')
| -rw-r--r-- | src/.clang-format | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format index 099120f2cca..22ba63a5b63 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -103,6 +103,8 @@ ForEachMacros: - foreach_list_typed_safe - foreach_two_lists + - U_SPARSE_BITSET_FOREACH_SET + # nir - nir_foreach_function_temp_variable - nir_foreach_function_temp_variable_safe |