Commit 0c3a3bb4 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Proceed. maybe?

parent d532360f
......@@ -265,7 +265,21 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_prop("width = MALI_POSITIVE(%" PRId16 ")", s->width + 1);
panwrap_prop("height = MALI_POSITIVE(%" PRId16 ")", s->height + 1);
{
/* No idea where the weird negative alignment requirements come
* from */
int mask = s->unknown_address_5 & 0xFFF;
int offset = mask ? 0x1000 - mask : 0;
char *a = pointer_as_memory_reference(s->unknown_address_5 + offset);
//panwrap_prop("unknown_address_5 = %s - %d", a, offset);
free(a);
}
MEMORY_PROP(s, unknown_address_5);
panwrap_prop("unknown10 = 0x%" PRIx64, s->unknown10);
/* Earlier in the actual commandstream -- right before width -- but we
......@@ -276,12 +290,12 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_log_cont(",\n");
if (s->depth_buffer | s->depth_buffer_enable) {
panwrap_prop("depth_buffer = " MALI_PTR_FMT, s->depth_buffer);
MEMORY_PROP(s, depth_buffer);
panwrap_prop("depth_buffer_enable = %s", DS_ENABLE(s->depth_buffer_enable));
}
if (s->stencil_buffer | s->stencil_buffer_enable) {
panwrap_prop("stencil_buffer = " MALI_PTR_FMT, s->depth_buffer);
MEMORY_PROP(s, stencil_buffer);
panwrap_prop("stencil_buffer_enable = %s", DS_ENABLE(s->stencil_buffer_enable));
}
......
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