freedreno/fdl: Fix typo in tiled_to_linear_2cpp

The non-aarch64 path was copying in the wrong direction.

Fixes: 7a5a33e0e3 ("freedreno/fdl: Add tiling/untiling implementation for a6xx/a7xx")
(cherry picked from commit 455eb2c751)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
This commit is contained in:
Ryan Houdek 2025-11-03 14:43:36 -08:00 committed by Dylan Baker
parent 2ad12150e8
commit e23c722170
2 changed files with 2 additions and 2 deletions

View file

@ -184,7 +184,7 @@
"description": "freedreno/fdl: Fix typo in tiled_to_linear_2cpp",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "7a5a33e0e397c912cd7eb917af505921a89abaa2",
"notes": null

View file

@ -564,7 +564,7 @@ tiled_to_linear_2cpp(char *_tiled, char *_linear, uint32_t linear_pitch)
"v8", "v9", "v10", "v11", "v12", "v13", "v14", "v15");
}
#else
memcpy_small<2, LINEAR_TO_TILED, FDL_MACROTILE_4_CHANNEL>(
memcpy_small<2, TILED_TO_LINEAR, FDL_MACROTILE_4_CHANNEL>(
0, 0, 32, 4, _tiled, _linear, linear_pitch, 0, 0, 0);
#endif
}