d3d12: Move the D3D12ResourceState code to the gallium driver
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 20 Apr 2022 06:46:56 +0000 (08:46 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 21 Apr 2022 06:45:28 +0000 (23:45 -0700)
commitcf930db39cd4126e5ca242edc49181fb25fa5c16
tree8025a6efb6d2c7e7a3eb98c82611d9c6f6370174
parent5c4906dc0f0b9609760dc0a18805045e568b2d0b
d3d12: Move the D3D12ResourceState code to the gallium driver

It's only used there, and we don't plan to use it in Dozen, so let's move
the code to src/gallium/drivers/d3d12/ and get rid of the static
d3d12_resource_state library.

Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16042>
src/gallium/drivers/d3d12/D3D12ResourceState.cpp [moved from src/microsoft/resource_state_manager/D3D12ResourceState.cpp with 100% similarity]
src/gallium/drivers/d3d12/D3D12ResourceState.h [moved from src/microsoft/resource_state_manager/D3D12ResourceState.h with 100% similarity]
src/gallium/drivers/d3d12/meson.build
src/microsoft/meson.build
src/microsoft/resource_state_manager/meson.build [deleted file]