mesa/src/broadcom/drm-shim
Juan A. Suarez Romero d4646cd444 broadcom: use Mesa logging functions
Replace printf and nir_print_shaders by proper mesa_logX and
nir_log_shaderX functions, that provides better features (like logging
to a file, setting the logging verbosity, etc) and works better with
Android.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40434>
2026-04-06 07:40:55 +00:00
..
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
README.md
v3d_noop.c broadcom: use Mesa logging functions 2026-04-06 07:40:55 +00:00
vc4_noop.c vc4: use Mesa logging functions 2026-04-06 07:40:54 +00:00

v3d_noop backend

This implements the minimum of v3d in order to make shader-db work. The submit ioctl is stubbed out to not execute anything.

Export MESA_LOADER_DRIVER_OVERRIDE=v3d LD_PRELOAD=$prefix/lib/libv3d_noop_drm_shim.so. This will be a V3D 4.2 device.

vc4_noop backend

This implements the minimum of vc4 in order to make shader-db work. The submit ioctl is stubbed out to not execute anything.

Export MESA_LOADER_DRIVER_OVERRIDE=vc4 LD_PRELOAD=$prefix/lib/libvc4_noop_drm_shim.so. This will be a VC4 2.1 device.