freedreno/ir3: Generalize ir3_shader_disasm()
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 3 Jun 2019 20:58:11 +0000 (13:58 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Wed, 5 Jun 2019 18:15:04 +0000 (11:15 -0700)
commitcea39af2fbf109e85a50263fe2ea50f7d568b31a
treee24f67310625e916feb789ed713476890893a694
parent1ea987576d167db7d762e8d99ea05efbb519281b
freedreno/ir3: Generalize ir3_shader_disasm()

Use a helper function to get the sysval/attribute/varying/output name
and make the disam debug output independent of shader stage.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_shader.c