mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
panfrost: Zero initialize disassembler stats
Keep it simple for introducing new support. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14063>
This commit is contained in:
parent
96acad5cd5
commit
244f3704d4
1 changed files with 1 additions and 15 deletions
|
|
@ -571,24 +571,10 @@ pandecode_shader_disassemble(mali_ptr shader_ptr, int shader_no, int type,
|
|||
|
||||
pandecode_log_cont("\n\n");
|
||||
|
||||
struct midgard_disasm_stats stats;
|
||||
struct midgard_disasm_stats stats = { 0 };
|
||||
|
||||
#if PAN_ARCH >= 6
|
||||
disassemble_bifrost(pandecode_dump_stream, code, sz, true);
|
||||
|
||||
/* TODO: Extend stats to Bifrost */
|
||||
stats.texture_count = -128;
|
||||
stats.sampler_count = -128;
|
||||
stats.attribute_count = -128;
|
||||
stats.varying_count = -128;
|
||||
stats.uniform_count = -128;
|
||||
stats.uniform_buffer_count = -128;
|
||||
stats.work_count = -128;
|
||||
|
||||
stats.instruction_count = 0;
|
||||
stats.bundle_count = 0;
|
||||
stats.quadword_count = 0;
|
||||
stats.helper_invocations = false;
|
||||
#else
|
||||
stats = disassemble_midgard(pandecode_dump_stream,
|
||||
code, sz, gpu_id, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue