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,9 +638,12 @@ 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");
if (v->viewport) {
struct panwrap_mapped_memory *fmem = panwrap_find_mapped_gpu_mem_containing(v->viewport);
struct mali_viewport *PANWRAP_PTR_VAR(f, fmem, v->viewport);
......
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