Path: blob/21.2-virgl/src/panfrost/midgard/disassemble.h
4564 views
#include <stddef.h>12struct midgard_disasm_stats {3/* Counts gleaned from disassembly, or negative if the field cannot be4* inferred, for instance due to indirect access. If negative, the abs5* is the upper limit for the count. */67signed texture_count;8signed sampler_count;9signed attribute_count;10signed varying_count;11signed uniform_count;12signed uniform_buffer_count;13signed work_count;1415/* These are pseudometrics for shader-db */16unsigned instruction_count;17unsigned bundle_count;18unsigned quadword_count;1920/* Should we enable helper invocations? */21bool helper_invocations;22};2324struct midgard_disasm_stats25disassemble_midgard(FILE *fp, uint8_t *code, size_t size, unsigned gpu_id, bool verbose);262728