d3d12: implement the get_decoder_fence vfunc
authorSil Vilerino <sivileri@microsoft.com>
Sun, 4 Dec 2022 12:39:09 +0000 (09:39 -0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Jan 2023 19:34:33 +0000 (19:34 +0000)
commite8e7f06f104543f4c514b2a77fbe9f8044fc234c
tree2083166ae854859d474995e00a6954fd89a9133a
parent5e1bd07ac5733c3e7e5484f23a65a89e03f62d2c
d3d12: implement the get_decoder_fence vfunc

Implement the get_decoder_fence vfunc. Note that the waiting for
completion in this driver happens in the end_frame vfunc itself.

Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20133>
src/gallium/drivers/d3d12/d3d12_video_dec.cpp
src/gallium/drivers/d3d12/d3d12_video_dec.h