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

Realise where src_offset _actually_ goes :D

parent 7f970c3b
......@@ -1341,7 +1341,9 @@ panfrost_create_vertex_elements_state(
so->hw[i].unknown1 = 0x2a22;
so->hw[i].unknown2 = 0x1;
so->hw[i].unknown3 = 0x0;
/* The field itself should probably be shifted over */
so->hw[i].unknown3 = elements[i].src_offset << 2;
}
return so;
......
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