mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 04:18:14 +02:00
Via Coccinelle patches:
@@
expression bits;
typedef BITSET_WORD;
@@
-BITSET_WORDS(bits) * sizeof(BITSET_WORD)
+BITSET_BYTES(bits)
@@
expression memctx, bits;
typedef BITSET_WORD;
@@
-rzalloc_array(memctx, BITSET_WORD, BITSET_WORDS(bits))
+BITSET_RZALLOC(memctx, bits)
@@
expression memctx, bits;
@@
-rzalloc_size(memctx, BITSET_BYTES(bits))
+BITSET_RZALLOC(memctx, bits)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38245>
|
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| drm-shim | ||
| ds | ||
| genxml | ||
| lib | ||
| libpan | ||
| midgard | ||
| model | ||
| perf | ||
| shared | ||
| tools | ||
| util | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||