Commit 8bab5b03 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify MSAA flags in fbd.unknown2

parent 0d670de7
......@@ -59,7 +59,15 @@ static const struct panwrap_flag_info u4_flag_info[] = {
FLAG_INFO(NO_MSAA),
{}
};
#undef FLAG_INFO
#define FLAG_INFO(flag) { MALI_FRAMEBUFFER_##flag, "MALI_FRAMEBUFFER_" #flag }
static const struct panwrap_flag_info u2_flag_info[] = {
FLAG_INFO(MSAA_A),
FLAG_INFO(MSAA_B),
FLAG_INFO(MSAA_8),
{}
};
#undef FLAG_INFO
extern char* replace_fragment;
......@@ -146,7 +154,10 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_prop("unknown1 = 0x%" PRIx32, s->unknown1);
panwrap_prop("flags = 0x%" PRIx32, s->flags);
panwrap_prop("heap_free_address = 0x%" PRIx64, s->heap_free_address);
panwrap_prop("unknown2 = 0x%" PRIx32, s->unknown2);
panwrap_log(".unknown2 = ");
panwrap_log_decoded_flags(u2_flag_info, s->unknown2);
panwrap_log_cont(",\n");
panwrap_prop("width = MALI_POSITIVE(%" PRId16 ")", s->width + 1);
panwrap_prop("height = MALI_POSITIVE(%" PRId16 ")", s->height + 1);
......
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