mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
intel/brw: Don't include sync.nop in INTEL_DEBUG instruction counts
In an earlier commit, I made us stop counting sync.nops in the shader
statistics we use for shader-db (brw_debug_log_message) and fossil-db
(stats->instructions = ...). However, I missed adjusting the printout
for INTEL_DEBUG.
Fixes: 1497f4e0c2 ("intel/fs: Don't include sync.nop in instruction count statistics")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31311>
This commit is contained in:
parent
c243970d50
commit
878ae9708a
1 changed files with 2 additions and 1 deletions
|
|
@ -1432,7 +1432,8 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
|
|||
"Promoted %u constants. "
|
||||
"Compacted %d to %d bytes (%.0f%%)\n",
|
||||
shader_name, params->source_hash, sha1buf,
|
||||
dispatch_width, before_size / 16,
|
||||
dispatch_width,
|
||||
before_size / 16 - nop_count - sync_nop_count,
|
||||
loop_count, perf.latency,
|
||||
shader_stats.spill_count,
|
||||
shader_stats.fill_count,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue