nouveau/nv50: Print the number of loops in shader-db output.
authorEmma Anholt <emma@anholt.net>
Tue, 1 Mar 2022 06:25:52 +0000 (22:25 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 20 Apr 2022 21:58:33 +0000 (21:58 +0000)
commit1b32d4b7d446238e0c39758f0713204776b74a17
tree0206dbc9073e0d7ea551f2031174b815af46a442
parenta4840e15ab77b44a72cabd7d503172e8357477eb
nouveau/nv50: Print the number of loops in shader-db output.

This is important so you don't go comparing the number of instructions
emitted when you unrolled loops differently.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16063>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/nv50/nv50_program.c