d3d12: Swap the remainder of state tracking to new method
authorJesse Natalie <jenatali@microsoft.com>
Thu, 21 Jul 2022 03:25:29 +0000 (20:25 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Jul 2022 14:42:56 +0000 (14:42 +0000)
commitc6f01d6c45fd82bc07a68ec3a90f0f56c05fde01
tree9b55301c7ebdca1ae40cc7154551d980be5452c0
parent05d04c7a543ff739ad7580d7042cb4dd5310cd8d
d3d12: Swap the remainder of state tracking to new method

Uses a set of d3d12_bo on the context to track which bos are pending
a transition instead of an intrusive linked list, since the bo may
need to be pending on multiple contexts at once.

Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17688>
src/gallium/drivers/d3d12/D3D12ResourceState.cpp [deleted file]
src/gallium/drivers/d3d12/D3D12ResourceState.h [deleted file]
src/gallium/drivers/d3d12/d3d12_bufmgr.cpp
src/gallium/drivers/d3d12/d3d12_bufmgr.h
src/gallium/drivers/d3d12/d3d12_context.cpp
src/gallium/drivers/d3d12/d3d12_context.h
src/gallium/drivers/d3d12/d3d12_resource.h
src/gallium/drivers/d3d12/d3d12_resource_state.cpp
src/gallium/drivers/d3d12/meson.build