radeonsi: implement pipe_context.create_video_buffer_with_modifiers
authorSimon Ser <contact@emersion.fr>
Fri, 9 Apr 2021 08:31:44 +0000 (10:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Apr 2021 15:57:29 +0000 (15:57 +0000)
commit4a6b87ceab32639058a024ecda32083e46c062ec
tree2451eb36ba529031e107775cece1a347765210cc
parent5f101e8096f719a97528c8d15b6ea8fd3a7eae4e
radeonsi: implement pipe_context.create_video_buffer_with_modifiers

Just pass down the modifier list to vl_video_buffer_create_as_resource,
filtering out DCC modifiers because we don't support these for now.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10237>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_uvd.c