d3d12: Extend video screen AV1 encode tile support checking
authorSil Vilerino <sivileri@microsoft.com>
Tue, 29 Aug 2023 01:01:21 +0000 (21:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 21:30:02 +0000 (21:30 +0000)
commitf857c9a96fe6a5fa6ea502892f11d398cdb7753a
tree34447c4c56d1ac1a688e67e85039e39faf86fc2d
parent967133cc91f1611cc2521b6c5203e9541866db7d
d3d12: Extend video screen AV1 encode tile support checking

Add fallback case to take into account driver reported tile restrictions if
default hardcoded tile configurations are not supported by driver

Reviewed-by: Tanner Van De Walle <tvandewalle@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25070>
src/gallium/drivers/d3d12/d3d12_video_screen.cpp