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

varying_count field

parent ad7c9a16
......@@ -66,11 +66,9 @@ struct mali_shader_meta {
mali_ptr shader;
u32 zero;
/* TODO: Does this consider size? */
/* Counted as number of address slots (i.e. half-precision vec4's) */
u16 attribute_count;
/* Zero for no attributes, small non-zero for attributes, it appears */
u16 unknown1;
u16 varying_count;
/* Format here is very weird and only partially understood, but in a 32-bit hex word:
* .XX..... is the known format, where X is the whole number of uniform
......
......@@ -258,7 +258,7 @@ void panwrap_replay_vertex_or_tiler_job(const struct mali_job_descriptor_header
panwrap_prop("zero = 0x%" PRIx32, s->zero);
panwrap_prop("attribute_count = %" PRId16, s->attribute_count);
panwrap_prop("unknown1 = 0x%" PRIx16, s->unknown1);
panwrap_prop("varying_count = %" PRId16, s->varying_count);
/* Structure is still mostly unknown, unfortunately */
panwrap_prop("uniform_registers = (%d << 20) | 0x%" PRIx32, (s->uniform_registers >> 20) & 0xFF, s->uniform_registers & ~0x0FF00000);
......
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