ethosu: Invert lowering order of concatenation suboperations

Just so we match the order in which Vela assigns offsets to the FMs so
it's easier to diff cmdstream dumps.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39611>
This commit is contained in:
Tomeu Vizoso 2026-02-17 08:58:05 +01:00 committed by Marge Bot
parent d66d2c05d3
commit 45fb8b99df

View file

@ -468,7 +468,7 @@ ethosu_lower_graph(struct ethosu_subgraph *subgraph,
}
case PIPE_ML_OPERATION_TYPE_CONCATENATION: {
for (int j = 0; j < poperations[i].input_count; j++) {
for (int j = poperations[i].input_count - 1; j >= 0; j--) {
ethosu_lower_concatenation(subgraph, &poperations[i], j, &operation);
util_dynarray_append(&subgraph->operations, operation);
}