mesa/src
Matti Hamalainen 32d40f7c80 aux/trace: print enum names instead of integer values in gallium traces
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>
2022-01-19 11:57:17 +00:00
..
amd ac/surface: allow displayable DCC with any resolution (e.g. 8K) 2022-01-18 01:44:17 -05:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi agx: Handle discard intrinsics 2022-01-16 18:23:28 +00:00
broadcom anv,lavapipe,v3dv: use wsi_common_get_image 2022-01-14 17:41:42 +00:00
compiler nir: Reorder ffma and fsub combining 2022-01-18 17:44:50 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/dri2: short-circuit dri2_make_current when possible 2022-01-17 10:32:01 +00:00
etnaviv ci: Uprev piglit to af1785f31 2022-01-10 21:52:42 +00:00
freedreno freedreno/ci: Fix dEQP tests expectations on A530 2022-01-18 18:42:05 +00:00
gallium aux/trace: print enum names instead of integer values in gallium traces 2022-01-19 11:57:17 +00:00
gbm replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
getopt
glx replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel genxml: reduce amount of generated code 2022-01-19 10:57:48 +00:00
loader loader: Restore i915g support. 2021-12-09 09:05:23 -08:00
mapi mapi: generate correct dispatch for EXT_draw_instanced 2022-01-03 21:37:34 +00:00
mesa mesa/st: get rid of ST_CALLOC_STRUCT use CALLOC_STRUCT 2022-01-18 22:20:18 +00:00
microsoft Revert "ci: disable vs2019 windows build" 2022-01-12 21:45:11 +00:00
nouveau
panfrost panfrost/ci: Fix piglit tests expectations on G52 2022-01-18 18:42:05 +00:00
tool pps: increase intel.cfg buffer size 2022-01-14 20:17:44 +00:00
util util: add ptralloc 2022-01-19 04:10:58 +00:00
virtio venus: VkExternalImageFormatProperties is optional 2022-01-13 02:59:51 +00:00
vulkan vulkan/wsi: add wsi_common_get_image 2022-01-14 17:41:42 +00:00
meson.build meson: make mesa/tests/glx depend on gallium 2021-12-07 13:03:53 +00:00