Commit 112e040e authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Rename nulls appropriately for textures

No dumping/decoding is done of the texture memory yet, but this makes it
easier to spot at least. A bit more is known about these values
themselves -- see the stale textures branch in cafe/pantry -- but this
is not yet implemented.
Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
parent b2eb442e
......@@ -121,8 +121,8 @@ struct mali_payload_vertex_tiler {
mali_ptr null0;
mali_ptr unknown0;
mali_ptr unknown1; /* pointer */
mali_ptr null1;
mali_ptr null2;
mali_ptr texture_meta_address;
mali_ptr texture_unknown;
mali_ptr uniforms;
u8 flags : 4;
mali_ptr _shader_upper : MALI_PTR_BITS - 4; /* struct shader_meta */
......
......@@ -299,9 +299,16 @@ void panwrap_decode_vertex_or_tiler_job(const struct mali_job_descriptor_header
panwrap_indent--;
}
/* TODO: Some of these are for textures. Rename and dump those. */
panwrap_log("nulls: " MALI_PTR_FMT ", " MALI_PTR_FMT ", " MALI_PTR_FMT ", " MALI_PTR_FMT "\n",
v->null0, v->null1, v->null2, v->null4);
panwrap_log("nulls: " MALI_PTR_FMT ", " MALI_PTR_FMT "\n",
v->null0, v->null4);
if (v->texture_meta_address || v->texture_unknown) {
panwrap_log("Texture:");
panwrap_indent++;
panwrap_log("Meta address: " MALI_PTR_FMT "\n", v->texture_meta_address);
panwrap_log("Unknown address: " MALI_PTR_FMT "\n", v->texture_unknown);
panwrap_indent--;
}
panwrap_trace_fbd(mem, &v->fbd);
......
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