v3d: moving v3d simulator to src/broadcom
[mesa.git] / src / broadcom / drm-shim / README.md
1 ### v3d backend
2
3 This implements some of v3d using the closed source v3dv3 tree's
4 C/C++-based simulator. All execution is synchronous.
5
6 Export: `MESA_LOADER_DRIVER_OVERRIDE=v3d
7 LD_PRELOAD=$prefix/lib/libv3d_drm_shim.so`. The v3dv3 version exposed
8 will depend on the v3dv3 build -- 3.3, 4.1, and 4.2 are supported.
9
10 ### v3d_noop backend
11
12 This implements the minimum of v3d in order to make shader-db work.
13 The submit ioctl is stubbed out to not execute anything.
14
15 Export `MESA_LOADER_DRIVER_OVERRIDE=v3d
16 LD_PRELOAD=$prefix/lib/libv3d_noop_drm_shim.so`. This will be a V3D
17 4.2 device.