freedreno/a6xx: Fix NV12+UBWC import
authorRob Clark <robdclark@chromium.org>
Fri, 8 Dec 2023 19:30:44 +0000 (11:30 -0800)
committerEric Engestrom <eric@engestrom.ch>
Sun, 10 Dec 2023 17:29:40 +0000 (17:29 +0000)
commit4a6094622576c6a2b670f15020f1251ac2095277
treeee3317c2ef89f3653ce62b57d1b227ef860a7891
parentfd321f72a08778d6b8a10ea08ecdd77aac2efcba
freedreno/a6xx: Fix NV12+UBWC import

Treat R8_G8B8_420_UNORM and NV12 the same, because dri2 frontend doesn't
understand or care about the difference from the sampler PoV.

Fixes: 1e820ac12850 ("freedreno: Rework supported-modifiers handling")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26601>
(cherry picked from commit 2132f95de0b0f291b116a67149793eaac2e2b5bf)
.pick_status.json
src/gallium/drivers/freedreno/a6xx/fd6_resource.cc