d3d12: resource state manager cleanups
Here's a bunch of cleanups for the D3D12 state manager.
This does a few things:
- Replace custom linked-list implementation with
util/list.h
- Fixes a theoretical bug (probably not possible to trigger in practice)
- Remove unused (or effectively unused) flags and pre-draw mechanism
- Remove single-member struct