fc39875007a8708bf36405db2c8760625734d73f
3 struct midgard_disasm_stats
{
4 /* Counts gleaned from disassembly, or negative if the field cannot be
5 * inferred, for instance due to indirect access. If negative, the abs
6 * is the upper limit for the count. */
10 signed attribute_count
;
13 signed uniform_buffer_count
;
16 /* These are pseudometrics for shader-db */
17 unsigned instruction_count
;
18 unsigned bundle_count
;
19 unsigned quadword_count
;
21 /* Should we enable helper invocations? */
22 bool helper_invocations
;
25 struct midgard_disasm_stats
26 disassemble_midgard(uint8_t *code
, size_t size
);