diff options
author | Icecream95 <[email protected]> | 2020-01-23 09:42:12 +1300 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-23 20:46:38 +0000 |
commit | 968f36d1fc081baf2e95eef1410b06552845440b (patch) | |
tree | 8d3f8abd14e3ac7328b9d7f432d17ee32b9d15d6 /src/panfrost/pandecode | |
parent | 7b525ba02b4e9a691f3f236e626c10bfcf1e0381 (diff) |
pan/midgard: Support disassembling to a file
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3525>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index c8d0d34f319..0425e236f7f 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -1887,7 +1887,7 @@ pandecode_shader_disassemble(mali_ptr shader_ptr, int shader_no, int type, stats.quadword_count = 0; stats.helper_invocations = false; } else { - stats = disassemble_midgard(code, sz, gpu_id, + stats = disassemble_midgard(stdout, code, sz, gpu_id, type == JOB_TYPE_TILER ? MESA_SHADER_FRAGMENT : MESA_SHADER_VERTEX); } |