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>