mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
aco: fix hash statistic
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Fixes:897561b7b9("aco: add aco_postprocess_shader() helper") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17954> (cherry picked from commitbd40e1b012)
This commit is contained in:
parent
f330229d98
commit
e99965a073
2 changed files with 4 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"description": "aco: fix hash statistic",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "897561b7b98ebbabe0ee68761ccb9302ddc8991f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -244,6 +244,9 @@ aco_compile_shader(const struct aco_compiler_options* options,
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue