Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes:
897561b7b98 ("aco: add aco_postprocess_shader() helper")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17954>
std::vector<uint32_t> code;
unsigned exec_size = aco::emit_program(program.get(), code);
+ if (program->collect_statistics)
+ aco::collect_postasm_stats(program.get(), code);
+
bool get_disasm = options->dump_shader || options->record_ir;
std::string disasm;