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

Fix issue from previous cleanup

parent eab6ec85
......@@ -1281,8 +1281,8 @@ panfrost_create_vertex_elements_state(
}
so->hw[i].type = type;
so->nr_components[i] = /* desc->nr_channels */ 4; /* XXX */
so->hw[i].nr_components = MALI_POSITIVE(nr_chan);
so->nr_components[i] = desc->nr_channels;
so->hw[i].nr_components = MALI_POSITIVE(4); /* XXX */
so->hw[i].not_normalised = !chan.normalized;
/* Bit used for both signed/unsigned and full/half designation */
......
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