Commit 527067de authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig

Disassemble blend shader

parent 6614ddcc
......@@ -619,7 +619,10 @@ panwrap_replay_vertex_or_tiler_job(const struct mali_job_descriptor_header *h,
panwrap_prop("unknown2_7 = 0x%" PRIx32, f->unknown2_7);
panwrap_prop("unknown2_8 = 0x%" PRIx32, f->unknown2_8);
bool blend_shader = false;
if (f->unknown2_3 & MALI_HAS_BLEND_SHADER) {
blend_shader = true;
panwrap_replay_shader_address("blend_shader", f->blend_shader);
} else {
panwrap_replay_blend_equation(&f->blend_equation);
......@@ -635,6 +638,9 @@ panwrap_replay_vertex_or_tiler_job(const struct mali_job_descriptor_header *h,
panwrap_shader_disassemble(shader_ptr, job_no, h->job_type);
if (blend_shader)
panwrap_shader_disassemble(f->blend_shader & ~0xF, job_no, h->job_type);
} else
panwrap_msg("<no shader>\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment