From e0aeee946004685527dfa0a4f5f141b85ae076dd Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Sat, 3 Aug 2019 10:56:12 +0200 Subject: lima: add summary report for shader-db Very basic summary, loops and gpir spills:fills are not updated yet and are only there to comply with the strings to shader-db report.py regex. For now it can be used to analyze the impact of changes in instruction count in both gpir and ppir. The LIMA_DEBUG=shaderdb setting can be useful to output stats on applications other than shader-db. Signed-off-by: Erico Nunes Reviewed-by: Qiang Yu --- src/gallium/drivers/lima/lima_screen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/lima/lima_screen.h') diff --git a/src/gallium/drivers/lima/lima_screen.h b/src/gallium/drivers/lima/lima_screen.h index 7d1f6f82924..29693168828 100644 --- a/src/gallium/drivers/lima/lima_screen.h +++ b/src/gallium/drivers/lima/lima_screen.h @@ -36,6 +36,7 @@ #define LIMA_DEBUG_GP (1 << 0) #define LIMA_DEBUG_PP (1 << 1) #define LIMA_DEBUG_DUMP (1 << 2) +#define LIMA_DEBUG_SHADERDB (1 << 3) extern uint32_t lima_debug; extern FILE *lima_dump_command_stream; -- cgit v1.2.3