Commit fd3f3292 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Begin wrapping my noggin aroud varyings

parent 0970cbb5
......@@ -281,6 +281,7 @@ struct mali_attr_meta {
* 3: byte
* 4: short
* 5: int
* 6: used for float gl_Position varying?
* 7: half, float, packed
*/
......
......@@ -478,7 +478,7 @@ panwrap_replay_attribute_meta(int job_no, const struct mali_payload_vertex_tiler
int count = 0;
struct mali_attr_meta *attr_meta;
mali_ptr p = varying ? v->unknown6 : v->attribute_meta;
mali_ptr p = varying ? (v->unknown6 & ~0xF) : v->attribute_meta;
struct panwrap_mapped_memory *attr_mem = panwrap_find_mapped_gpu_mem_containing(p);
......@@ -755,6 +755,8 @@ panwrap_replay_vertex_or_tiler_job(const struct mali_job_descriptor_header *h,
panwrap_log("};\n");
TOUCH(umem, v->unknown6 & ~0xF, *u, "unknown6", job_no, false);
panwrap_replay_attribute_meta(job_no, v, true);
}
}
......
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