v3dv: clif format dumping support

Graphics / Mesa 3D Graphics Library / Mesa - Alejandro Piñeiro [igalia.com] - 13 October 2020 21:21 UTC

Add support for V3D_DEBUG=clif. Useful to compare clif_dumps from
vulkan small-programs and the equivalent opengl ones.

As we are here we expand clif_dump_packet wrapper to use
v3d42_clif_dump_packet if needed, as the vulkan driver would use that packet version.

Part-of:

e252e536e41 v3dv: clif format dumping support
src/broadcom/clif/clif_dump.c | 4 +++-
src/broadcom/vulkan/meson.build | 1 +
src/broadcom/vulkan/v3dv_queue.c | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share