mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 21:30:23 +01:00
Having only magic constants instead of human-readable strings in traces not only hinders readability, but also may affect trace comparision of old and new traces if new enums have been added or modified (thus possibly changing the values of existing ones.) So we implement printing of enum names as strings instead. In order to have those strings, we need to add some new helper functions, which we will automatically generate from header file src/gallium/include/pipe/p_defines.h via a new Python script enums2names.py. We also bolt this all into the Meson build system. Link: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4609 Signed-off-by: Matti Hamalainen <ccr@tnsp.org> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14398> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| glx | ||
| gtest | ||
| hgl | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| meson.build | ||