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

panfrost: Fix off-by-one in channel unknown1

parent 7542c559
......@@ -1854,7 +1854,7 @@ panfrost_create_vertex_elements_state(
0x1a22, /* vec4 */
};
so->hw[i].unknown1 = unknown1_for_components[desc->nr_channels];
so->hw[i].unknown1 = unknown1_for_components[desc->nr_channels - 1];
so->hw[i].unknown2 = 0x1;
......
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