d3d12: Create d3d12_resource objects for video usage keeping their DXGI_..._UNORM...
authorSil Vilerino <sivileri@microsoft.com>
Thu, 20 Oct 2022 16:26:03 +0000 (12:26 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 20:37:10 +0000 (20:37 +0000)
commit7ba94036f363757b1e379ef3ad1cf2cc47735d6d
tree1f62de42846b711894f890f687327953a6e5f944
parentdd90273aaacb9093334aa3db95e298026616b6dd
d3d12: Create d3d12_resource objects for video usage keeping their DXGI_..._UNORM formats

Do not set D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS nor convert
new d3d12_resource objects to their DXGI typeless formats for video
usage flagged by the video driver with PIPE_BIND_CUSTOM

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19206>
src/gallium/drivers/d3d12/d3d12_resource.cpp
src/gallium/drivers/d3d12/d3d12_video_buffer.cpp