intel: add scheduling mode statistic

This is for parity with what we do in the current GL shader-db path.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39633>
This commit is contained in:
Alyssa Rosenzweig 2026-01-30 16:59:37 -05:00 committed by Marge Bot
parent fcaf6a52a7
commit 3d5170c705
2 changed files with 4 additions and 0 deletions

View file

@ -1457,6 +1457,7 @@ brw_generator::generate_code(const brw_shader &s,
stats->non_ssa_regs_after_nir = shader_stats.non_ssa_registers_after_nir;
stats->source_hash = prog_data->source_hash;
stats->grf_registers = devinfo->ver >= 30 ? s.grf_used : 0;
stats->scheduler_mode = shader_stats.scheduler_mode;
/* Report the max dispatch width only on the smallest SIMD variant.
*

View file

@ -185,6 +185,9 @@
<stat name="Source hash" hash="true">
Hash generated from shader source.
</stat>
<stat name="Scheduler mode" type="str">
Scheduling mode selected for this binary.
</stat>
</isa>
</family>