}
MEMORY_PROP(s, unknown_address_0);
- pandecode_midgard_tiler_descriptor(&s->tiler);
+ const struct midgard_tiler_descriptor t = s->tiler;
+ pandecode_midgard_tiler_descriptor(&t);
pandecode_indent--;
pandecode_log("};\n");
pandecode_prop("unknown2 = 0x%x", fb->unknown2);
MEMORY_PROP(fb, scratchpad);
- pandecode_midgard_tiler_descriptor(&fb->tiler);
+ const struct midgard_tiler_descriptor t = fb->tiler;
+ pandecode_midgard_tiler_descriptor(&t);
if (fb->zero3 || fb->zero4) {
pandecode_msg("framebuffer zeros tripped\n");
pandecode_prop("flags = 0x%" PRIx64, b->flags);
- mali_ptr shader = pandecode_midgard_blend(&b->blend, is_shader);
+ union midgard_blend blend = b->blend;
+ mali_ptr shader = pandecode_midgard_blend(&blend, is_shader);
pandecode_indent--;
pandecode_log("};\n");
if (!is_bifrost) {
/* TODO: Blend shaders routing/disasm */
- pandecode_midgard_blend(&s->blend, false);
+ union midgard_blend blend = s->blend;
+ pandecode_midgard_blend(&blend, false);
}
pandecode_indent--;