lima: add summary report for shader-db
authorErico Nunes <nunes.erico@gmail.com>
Sat, 3 Aug 2019 08:56:12 +0000 (10:56 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Tue, 6 Aug 2019 13:43:31 +0000 (15:43 +0200)
commite0aeee946004685527dfa0a4f5f141b85ae076dd
tree84377b66fb5c5f8b9e237b6aae65ae7038c886c4
parent9e41a514a8aabe209e7cc999a609c9a0a252b3d7
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 <nunes.erico@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/gp/codegen.c
src/gallium/drivers/lima/ir/gp/gpir.h
src/gallium/drivers/lima/ir/gp/nir.c
src/gallium/drivers/lima/ir/lima_ir.h
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/lima/ir/pp/ppir.h
src/gallium/drivers/lima/ir/pp/regalloc.c
src/gallium/drivers/lima/lima_program.c
src/gallium/drivers/lima/lima_screen.c
src/gallium/drivers/lima/lima_screen.h